A small, but important detail: for the embed-file attribute use
"frutiger.pfb", NOT "frutiger.pfm". The PFM file is only the metrics
file. The actual font is in the PFB.

On 19.12.2005 15:46:32 Christian Loock wrote:
> Hi,
> 
> i used the PFMreader like written in
> http://xmlgraphics.apache.org/fop/0.20.5/fonts.html#type1-metrics to
> generate a fon metrics file for a type 1 font. I addes an entry to my
> userconfig of fop which looks like
> 
> <font metrics-file="frutiger.xml" kerning="yes"
> embed-file="frutiger.pfm">
>       <font-triplet name="frutiger" style="normal" weight="normal" />
> </font>
> 
> in my fo stylesheet i use the font like
> 
> <fo: block font-family="frutiger">my text</fo:block>
> 
> 
> When i run fop to generate PDF output i get following error:
> 
> [ERROR] Failed to read font data for embedded font: 1098
> 
> In the PDF the generated output shows only dots and the acroat reader
> outputs an error that the font could'nt be found.
> 
> What did i wrong?


Jeremias Maerki


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

Reply via email to