Anil Kumar Mishra wrote:
> Hi,
>       I want to know that whether FOP support Japanese character. I tried
> to insert some Japanese character in fo file, but couldn't get the proper
> data(Japanese chars.) in output pdf file. Can anyone suggest me anything
> about this.

FOP is able to process japanese characters. This doesn't mean
you see glyphs for japanese characters in the PDF. In order
to get this, you have to supply a font with appropriate glyphs
to FOP.
First, locate a font. If you have other applications on your
platform which display japanese, look where the system stores
fonts.
Secont, you have to prepare a font metrics file and tell FOP
to use it. This is described in the documentation in the FOP
distribution: docs/html-docs/fonts.html. You are told to assign
your font a name there.
Third, construct a small FO file to test it. Declare some
standard page master, and insert a block with japanese characters
in the flow. Select the font you installed in step 2 using
the font-family property (e.g. if you named it "foo", declare
font-family="foo" on the block.
Depending on your editor, you can insert the japanese characters
directly into the FO file, or use XML character references.

J.Pietschmann



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

Reply via email to