Athalye, Rishi wrote:
> I am accessing a PDF created through FOP on a Mac m/c. The PDF opens up with
> a
> "Unable to find or create the font '37E92bbTimesNewRoman' " error and the
> text does not render properly.
> Everytime I open the PDF, it has a different code\number in front of
> 'TimesNewRoman' in the message.
The number before the "TimesNewRoman" is not part of a regular
error message. This probably indicatess a buglet in the reader.
> I am using a font metrics file and embedding the font file by specifying the
> following in the userconfig.xml
>
> <font metrics-file="file:///D:/java/lib/fop-0.20.3/conf/ttftimes.xml"
> kerning="yes" embed-file="C:\WINNT\Fonts\TIMES.ttf">
> <font-triplet name="TimesNewRoman" style="normal" weight="normal"/>
> </font>
Try a standard PDF font first (simply delete all font-family="..."
properties). If this works, try to substifute some other TTF font
in the userconfig, like
<font metrics-file="file:///D:/java/lib/fop-0.20.3/conf/ttfarial.xml"
kerning="yes" embed-file="C:\WINNT\Fonts\arial.ttf">
<font-triplet name="TimesNewRoman" style="normal" weight="normal"/>
</font>
(No need to rename the font in the FO)
It also shouldn't hurt to upgrade to 0.20.4.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]