Cant seem to embedd Trebuchet MS.

2007-08-23 Thread Martijn Laarman
Hi, We are having a particularly hard time trying to get FOP to embedd Trebuchet MS in to the result PDF. We successfully use FOP as a tomcat servlet however it seems that something goes wrong when i try to add a configuration file for the servlet: public void init() throws ServletException

RE: Cant seem to embedd Trebuchet MS.

2007-08-23 Thread Pascal Sancho
Hi Martjin, Your config file seems to be used with FOP 0.9x, but font descripition uses FOP 0.25 attributes. It should be like this: font metrics-url=arial.xml kerning=yes embed-url=arial.ttf font-triplet name=Arial style=normal weight=normal/ font-triplet name=ArialMT style=normal

Re: Cant seem to embedd Trebuchet MS.

2007-08-23 Thread Adrian Cumiskey
Hi Martijn, My first thought it that it looks like you may be trying to use a 0.20 configuration with a 0.93/trunk version of FOP. If you are using 0.93 or later version of FOP (which is highly recommended) then you should change each font definition in your configuration file to use a

Re: Cant seem to embedd Trebuchet MS.

2007-08-23 Thread Martijn Laarman
Wow very swift reply thanks both of you! It seems i had the config.xml open twice, one being modified and the other not and of course i saved the wrong one. I had already replaced those attributes with metrics-url and embed-url. It still doesnt seem to like Trebuchet however: Anyway my config

Re: Cant seem to embedd Trebuchet MS.

2007-08-23 Thread Adrian Cumiskey
Hi Martijn, Martijn Laarman wrote: Adrien Cumiskey , what exactly do you mean with a trunk version of FOP ? This just means you are using the 'latest and greatest' FOP code built from the Apache source repository (rather than a recognised official version). It sounds like you might be