I am a Chinese and tried to produce simple Chinese PDF from FOP. The answers to your questions follows :-


1. You may do them both, but I think it's more difficult to type in Chinese and save the doc. in Unicode. I did it the other way, read the data from database and convert them into bytes of Unicode, and then transform using FOP.
2. You need Chinese-enabled fonts, "MingLiU" is a good choice. You need to generate a font matrix file using the utility org.apache.fop.fonts.apps.TTFReader from a Windows font, e.g. mingliu.ttf, following the instructions at :-


http://xml.apache.org/fop/fonts.html

Regards,   John Mok


joni santoso wrote:
I want to test whether fop can product chinese docs.

I have some questions:
1. Should I type using the Chinese characters inside the fo files? or just using the codes for the Chinese chars?
2. Should I provide the fonts when trying to produce the docs? Are they provided by fop?


Any examples for this?

Regards,
===========================================================================================


Malas antri buat mendapatkan print-out tagihan telepon ? Klik aja http://billinfo2.plasa.com
Gratis Perpanjangan dan Pendaftaran Nama Domain http://idc.plasa.com khusus di bulan Maret !
===========================================================================================



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





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



Reply via email to