You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Anil Kumar Mishra <ma...@wilco-int.com> on 2002/05/20 12:31:54 UTC

Japanese char support by FOP or not...

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.

Thanks,
Anil Mishra





This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify us immediately. You should not copy it or use it for any purpose, nor disclose it's contents to any other person. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of Wilco International.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Japanese char support by FOP or not...

Posted by "J.Pietschmann" <j3...@yahoo.de>.
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: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org