You simply need to get a TrueType font that contains the necessary characters. Create the font metrics file and add it to the configuration as shown in the documentation. You can then simply specify font-family="MyJapaneseFont" on the fo:root element. It is automatically inherited by all child elements.
On 30.08.2005 21:13:22 Melih Ovadya wrote: > Thank you for this info. Is there a way to set the font for the whole > document so that it would render the Japanese characters correctly? > > melih > > -----Original Message----- > From: Jeremias Maerki [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 30, 2005 12:29 AM > To: [email protected] > Subject: Re: creating a PDF document containing UTF-8 characters > > It's not a bug. Please consult > http://xmlgraphics.apache.org/fop/faq.html#pdf-characters > > On 30.08.2005 01:59:56 Melih Ovadya wrote: > > Hi, > > > > I have a question regarding to UTF-8 characters when creating a PDF > > document: > > > > I have the initial content in byte[] myBytes, and myBytes contains some > > Japanese characters. Yet, once I render it, each Japanese character is > > displayed as a pound sign (#). > > > > Is this a known bug, or am I missing something? > > > Jeremias Maerki Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
