On 23.09.2004 20:24:22 Mike J Boyersmith wrote: > Problem: generated PDF file shows '#' characters instead of Chinese > characters.
As you probably found out yourself, this here applies: http://xml.apache.org/fop/faq.html#pdf-characters <snip/> > This all works great BUT!!!!!! The problem is that on Chinese if I have > text that has Chinese characters they are replaced with ‘#’ characters, > and I can figure no way around this…. > > So…. Digging around I see that I need to embed fonts, but…... > > How do I do this programmatically? Create the font metrics XML for your TrueType fonts as described here: http://xml.apache.org/fop/fonts.html Then use the userconfig.xml as described here: http://xml.apache.org/fop/embedding.html#config-external It's probably best to try on the command-line first and then port the whole thing into Java. > How do I do this so it works on Windows and Linux? Don't worry about that. It works the same way on both platforms. That's because FOP uses its own font subsystem for PDF and PS output. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]