> -----Original Message-----
> From: Peter Sparkes [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 30 January 2008 7:57 AM
> To: [email protected]
> Subject: Re: Chinese Fonts
> 
> Warren Young wrote:
> > Peter Sparkes wrote:
> >>
> >> However, I do not know what the fonts are called so that I can tell
> >> FOP what fonts to specify in the PDF.
> >
> > Have you tried just using the Unicode characters in question and
> > seeing what happens?
> >
> > I have no experience with Asian character sets, but I'd bet you're
> > barking up the wrong tree. You tell FOP about fonts when you want to
> > change the document's look. This is different from Adobe Reader
> > downloading additional fonts to expand its supported character set.
> >
> Yes I have tried just inserting the Chinese Characters eg 以請你告訴 and
> the PDF outputs #####.

It appears Adobe is installing an OpenType font as part of the font pack. I
just downloaded the Linux version and looked into the archive. It contains a
font file called AdobeSongStd-Light.otf. Unfortunately FOP doesn't support
OpenType fonts yet. Using ttfreader I get:

TTF Reader for Apache FOP svn-trunk

Parsing font...
Reading Adobe/Reader8/Resource/CIDFont/AdobeSongStd-Light.otf...
Font Family: [Adobe Song Std L, Adobe å®ä½ Std, Adobe å®ä½ Std L, Adobe Song
Std]
Error while building XML font metrics file.
java.lang.UnsupportedOperationException: OpenType fonts with CFF data are
not supported, yet

May be one of the font experts on the FOP team has some suggestions how to
get FOP to generate a PDF with the correct metrics referencing the Adobe
font e.g. 'Adobe Song Std'?

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

Reply via email to