You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Argyn Kuketayev <Ar...@plateau.com> on 2002/05/07 18:12:30 UTC

step-by-step instructions how to print Chinese in PDF?

I have to print documents with Chinese (and other languages). I couldn't
find a clear instruction how to do it.

Can anybody help? 

\fop-0.20.3\docs\examples\advanced folder didn't help me much.

thanx,
Argyn

Re: step-by-step instructions how to print Chinese in PDF?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Argyn Kuketayev wrote:
> I have to print documents with Chinese (and other languages). I couldn't
> find a clear instruction how to do it.

Find a font containing glyphs for your script.
Configure it for use by FOP as describet in
   docs/html-docs/fonts.html

Use an XML capable editor which allows you to input the
characters directly and encodes the file as UTF-8 or
UTF-16 or some ISO-8859-* (that's what you see in
test_ja.fo), or use an ASCII-editor and use XML character
references (something like &#x2126;, which would give you
an Ohm sign, the same glyph as greek upper case omega).
The Unicode consortium http://www.unicode.org has
character tables online.

J.Pietschmann