AFM is for Type 1 fonts. You're talking about TrueType fonts. That's two different pairs of shoes.
- What's FOP's log output for your document? - You specified <auto-detect/>. Is this font properly installed in your operating system? If not, FOP cannot find it and you might have to use the "directory" element instead. - Are you sure the characters you want to show are really available in this font? On 26.03.2008 14:05:04 xsltuser wrote: > > I'm not able to get this work with FOP 0.95beta as well. > Is there a way I can convert TTF to AFM file format and set the same in FOP > configuration to get the Chinese Fonts working? > > > > > Jeremias Maerki-2 wrote: > > > > 0.94 still has a few issues with detecting the right font names. FOP > > 0.95beta should behave correctly. > > > > On 26.03.2008 11:35:14 xsltuser wrote: > >> > >> Thanks for the info. > >> > >> I've now configured my FOP configuration file as > >> > >> <fonts> > >> <!-- automatically detect operating system installed fonts --> > >> <auto-detect/> > >> </fonts> > >> > >> In my xsl, I'm setting font-family="'LeHei Pro'" where 'LeHei Pro' is the > >> System Font in Chinese collection. > >> When I run this through FOP processor (0.94), resulting PDF file contains > >> sequences of # where I'm expecting chinese characters. Is this because > >> FOP > >> is not able to locate this font? Any help in this regard is appreciated. > >> > > <snip/> > > > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
