-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremias Maerki wrote:
> On 20.03.2007 17:17:42 haad wrote:
>> I'm trying to run fop-0.93 and I have problem with font embeding.
>> This is java trace when I run fop with -d parameter.
>>
> 
> <snip/>
>> java.lang.RuntimeException: Cannot load font. No font URIs available.
> <snip/>
>> my userconfig.xml file looks like this:
>>
>> <?xml version="1.0"?>
>> <fop version="1.0">
>>   <base>file:///home/haad/opt/fop-0.93/conf</base>
>>   <font-base>file:///home/haad/opt/fop-0.93/fonts/</font-base>
>>
>> [snip]
>>
>> <fonts>
>>  <font metrics-file="conf/timesbd.xml" kerning="yes" 
>> embed-file="timesbd.ttf">
> 
> Should be:
> <font metrics-url="conf/timesbd.xml" kerning="yes" embed-url="timesbd.ttf">
> as explained in 
> http://xmlgraphics.apache.org/fop/0.93/configuration.html#renderers
> 
thx now it works like a charm :). Sorry for noise I have read this link almost
10 times.

[snip]

I think that fop documentation should mention that metrics file URL is relative
to font-base dir.



Regards
- ---------------------------------------------------------------
Adam Hamsik
ICQ 249727910
jabber [EMAIL PROTECTED]
- ---------------------------------------------------------------
There are 10 kinds of people in the world. Those who understand
binary numbers, and those who don't.
                                
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGASCX9Wt2FT7y228RAgLfAKCDKcBNGdPDvu/O5yBumcvvlO6fUwCfRkcL
Ma+yJkXw9WjVxwRCFciQTjM=
=zHV+
-----END PGP SIGNATURE-----

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

Reply via email to