Got it!! It was not the embed-file attribute, but the metrics-file attribute itself. Although I'm quite sure to have tried all numbers of slashes and backslashes, it is finally ok with:
<font metrics-file="file:///D:/Programme/Tomcat-5.5/webapps/pdfnewsletter/WEB-INF/ fonts/font1.xml" kerning="yes" embed-file="E:/sonja/projekte/mainovaJ5/etc/fonts/Ss______.ttf"> <font-triplet name="customFont" style="normal" weight="normal"/> </font> Perhaps something was overwritten, as the attribute values are inserted via ant location properties .... Sorry for all the mailing and happy fopping ! sonja > -----Original Message----- > From: Jeremias Maerki [mailto:[EMAIL PROTECTED] > Sent: Freitag, 5. August 2005 21:28 > To: fop-users@xmlgraphics.apache.org > Subject: Re: Font embedding again > > Funny. Some people have no problem on Windows and when they > move to Linux. Bonk! Sorry, Peter, if I had an idea about > your problem I'd chime in. No Linux here to test. :-( And now > you, exactly the other way around. > Hmm. > > So, Sonja, did you check all the log output closely? Any > error or warning messages you could show us? How does your > userconfig.xml look like on Windows? Do you use the > fontBaseDir setting? > > And no, it won't help if you try the code directly from > Subversion. No changes in that area. > > On 05.08.2005 20:44:23 Sonja Löhr wrote: > > > > Hello to all! > > > > I just joined the list after one trying one day to upgrade > my project. > > I'm using fop-20.0.5 > > All worked fine with font metrics and embedding with all > tomcats up to > > 5.0.30 under Linux. > > Now I installed tomcat 5.5. on windows. > > The problem with the paths while creating the metrics - ok, that's > > already known. But also with my ready-to-use metrics-xmls, > as soon as > > I add the embed-request to the fop-config.xml, I get no > output and the > > log states that it never reaches page 2. > > If the font to be embedded cannot be found, I get my document out - > > without my font, of course. > > > > Is there some workaround or do I have to (would it help if > I ) try the > > CVS versions of the new branch? > > > > Would be very nice to finally overcome that boring font problem. > > > Jeremias Maerki > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]