haad wrote:
I'm trying to run fop-0.93 and I have problem with font embeding.
...
SEVERE: Exception
java.lang.RuntimeException: Cannot load font. No font URIs available.
...
my userconfig.xml file looks like this:
...
  <base>file:///home/haad/opt/fop-0.93/conf</base>
  <font-base>file:///home/haad/opt/fop-0.93/fonts/</font-base>
...
 <font metrics-file="conf/timesbd.xml" kerning="yes" embed-file="timesbd.ttf">

This would expect the metrics file as either
 file:///home/haad/opt/fop-0.93/conf/conf/timesbd.xml
or
 file:///home/haad/opt/fop-0.93/fonts/conf/timesbd.xml,
which is most likely not where the file really lives.

I have tried substitute relative URIsembed-file="ariali.ttf" with
"file:///home/haad/opt/fop-0.93/conf/times.xml" but it doesn't work ,too.

This isn't expected to work, because you can't substitute the actual
font file with the metrics file, even if the URL is correct.

J.Pietschmann




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

Reply via email to