Hello,

I'm using fop-0.20.4 and jdk 1.4.0. I'm embedding a True Type Font into my
documents. Thats works great. Here is a snippet from my userconfig.xml file:

<font
metrics-file="file:D:/Asfr/unchangedfopsrc/fop-0.20.4/conf/ARIALUNI.XML" 
   kerning="yes" 
   embed-file="file:D:/Asfr/unchangedfopsrc/fop-0.20.4/conf/ARIALUNI.TTF">
      <font-triplet name="ArialUnicodeMS" style="normal" weight="normal"/>
      <font-triplet name="ArialUnicodeMS" style="italic" weight="bold"/>
      <font-triplet name="ArialUnicodeMS" style="normal" weight="bold"/>
      <font-triplet name="ArialUnicodeMS" style="italic" weight="normal"/>
</font>


But if I remove the embed-file attribute I end up with an error. What is the
propper way to only reference the font?


This is my changed userconfig.xml file:

<font
metrics-file="file:D:/Asfr/unchangedfopsrc/fop-0.20.4/conf/ARIALUNI.XML" 
   kerning="yes" 
      <font-triplet name="ArialUnicodeMS" style="normal" weight="normal"/>
      <font-triplet name="ArialUnicodeMS" style="italic" weight="bold"/>
      <font-triplet name="ArialUnicodeMS" style="normal" weight="bold"/>
      <font-triplet name="ArialUnicodeMS" style="italic" weight="normal"/>
</font>


This is the error message I get:

[INFO] FOP 0.20.4
[INFO] building formatting object tree
[ERROR] Failed to read font metrics file
D:/Asfr/unchangedfopsrc/fop-0.20.4/conf
/ARIALUNI.XML : null
[INFO] [1]
[ERROR] unknown font ArialUnicodeMS,normal,normal so defaulted font to any
[ERROR] unknown font ArialUnicodeMS,normal,normal so defaulted font to any
[ERROR] unknown font ArialUnicodeMS,normal,normal so defaulted font to any
[INFO] [2]



Please note: I only changed the userconfig.xml. The font-metrics file is
still there.


-- 
Thanks for any help

Markus Sch�ffler
------------------------------------------------------

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to