I tried several different ways of using custom fonts. This one was the only one that
worked well and with good performance.
Hope this helps and that nobody recomended this recently, since I missed the begining of this thread.
Chris
Westemeyer, Sebastian, VF-DE wrote:
Well, I believe that I have tried all combinations of absolute and relative paths, with and without "file:///". Still it does not work. Very strange... So I might have to fall back on FOP generating without cocoon. Could the font itself be the reason it does not work?
-----Urspr�ngliche Nachricht-----
Von: J.Pietschmann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 8. Oktober 2004 21:45
An: [EMAIL PROTECTED]
Betreff: Re: Embedding fonts using fo2pdf serializer
Westemeyer, Sebastian, VF-DE wrote:
ERROR 2004-10-07 16:24:56.926 [sitemap.] (): unknown font hn-lc,normal,normal...
<font metrics-file="f:/Projekte/095.115 IR-DB/cocoon-2.1.5.1/...
Note that metrics-file is an URL, not a file. Try prepending "file:///". Probably the standalone FOP uses a different XML parser which falls back to interpreting the string as pathname if it gets an "invalid protocol scheme" exception.
J.Pietschmann
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
