Jeremias Maerki-2 wrote:
>
>
> On 22.08.2006 10:42:03 pverdret wrote:
>>
>>
>> Andreas L Delmelle wrote:
>> >
>> > On Aug 18, 2006, at 11:20, pverdret wrote:
>> >
>> > Hi,
>> >
>> >>
>> >> I'm unable to register new fonts with FOP (svn-trunk).
>> >> <snip />
>> >> In my configuration file i've added the following lines:
>> >>
>> >>
>> >> <font metrics-url="file:///e:/3CO/templates/Arial.xml" kerning="yes"
>> >> embed-url="file:///c:/WINNT/fonts/Arial.ttf">
>> >> <font-triplet name="Arial" style="normal" weight="normal"/>
>> >> </font>
>> >
>> > Where did you add this line precisely?
>> >
>> > It needs to be added as a child node to the renderer, as described
>> here:
>> > http://xmlgraphics.apache.org/fop/0.92/configuration.html#renderers
>> >
>>
>> I tested two possibilities: in the fop.xconf file, and in a specific
>> configuration file. Both failed.
>
> That's not what Andreas asked. Please post the full configuration file.
> That should make it easier.
>
>
> Jeremias Maerki
>
The configuration file used with the -c option:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- TODO: use proper config -->
<configuration>
<fonts>
<!-- TODO: use proper config -->
<font metrics-url="file:///e:/3CO/templates/Arial.xml" kerning="yes"
embed-url="file:///c:/WINNT/fonts/Arial.ttf">
<font-triplet name="Arial" style="normal" weight="normal"/>
</font>
<font metrics-url="file:///e:/3CO/templates/ARIALN.xml" kerning="yes"
embed-url="file:///c:/WINNT/fonts/ARIALN.ttf">
<font-triplet name="ArialNarrow" style="normal" weight="normal"/>
</font>
</fonts>
</configuration>
And the fop.xconf content:
http://www.nabble.com/user-files/235713/fop.xconf fop.xconf
Philippe
--
View this message in context:
http://www.nabble.com/Problem-for-registering-new-fonts-with-FOP-%28svn-trunk%29-tf2126206.html#a5922143
Sent from the FOP - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]