Hi Jochen,
The metrics files are loaded using URI syntax, so either you specify a relative path 
like
    <font metrics-file="codegen/arial.xml" ...>
or a fully qualified path like
    <font metrics-file="file:///d:/fop/codegen/arial.xml" ...>

It's a bit confusing because you can specify "d:/fop/codegen/Arial.ttf" for the font 
but you are obliged to put the "file:///" in front of the metrics file
path.

Hope it helps.
regards, thierry

[EMAIL PROTECTED] wrote:

> Ok here is the deal. I           adapted the userconfigfile like this:
>
> <fonts>
>     <font metrics-file="d:\fop\codegen\arial.xml" kerning="yes" embed-file
> ="d:\fop\codegen\Arial.ttf">
>       <font-triplet name="Arial" style="normal" weight="normal"/>
>     </font>
>     <font metrics-file="d:\fop\codegen\arialb.xml" kerning="yes" embed-file
> ="d:\fop\codegen\Arialb.ttf">
>       <font-triplet name="Arial" style="normal" weight="bold"/>
>     </font>
>     <font metrics-file="d:\fop\codegen\ariali.xml" kerning="yes" embed-file
> ="d:\fop\codegen\Ariali.ttf">
>       <font-triplet name="Arial" style="italic" weight="normal"/>
>     </font>
>     <font metrics-file="d:\fop\codegen\arialbi.xml" kerning="yes"
> embed-file="d:\fop\codegen\Arialbi.ttf">
>       <font-triplet name="Arial" style="italic" weight="bold"/>
>     </font>
>     <font metrics-file="d:\fop\codegen\arialn.xml" kerning="yes" embed-file
> ="d:\fop\codegen\Arianl.ttf">
>       <font-triplet name="Arialn" style="normal" weight="normal"/>
>     </font>
>   </fonts>
>
> in the dir "d:\fop\codegen" i pasted the the generated xml-files and the
> ttf files....
>
> but he still doesn't recognize the fonts when i render to pdf...
>
> what do i do wrong?
>
> how can i resolve it?
>
> Jochen Maes
> EDP departement
> Programmeur
>
> KBC-Securities
> Havenlaan 16
> 1080 Brussel
>
> Tel : 02/429.96.81
> Fax : 02/429.17.48
> E-mail : [EMAIL PROTECTED]
>
> 
>**********************************************************************************************************************************************************
>
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. You must not,
> directly or indirectly, use, disclose, distribute, print, or copy any part
> of this message if you are not the intended recipient. KBC Securities
> reserves the right to monitor all e-mail communications through its
> networks. Any views expressed in this message are those of the individual
> sender, except where the message states otherwise and the sender is
> authorised to state them to be the views of any such entity.
> 
>**********************************************************************************************************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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

Reply via email to