it maybe help u in handle Asian Fonts.
http://www.jguru.com/forums/view.jsp?EID=895833

Using Apache FOP. 

step 1:Generate font configure file.simkai is a font type of Chinese.
java org.apache.fop.fonts.apps.TTFReader C:\WINNT\Fonts\simkai.ttf simkai.xml 

step 2:Add configure to userconfig.xml in %fop%/conf
[font metrics-file="simkai.xml" kerning="yes" 
embed-file="c:\WINNT\fonts\simkai.ttf"] [font-triplet name="mysimkai" 
style="normal" weight="normal"/] [/font] 

step 3:edit fo file
[fo:block font-family="mysimkai"]Chinese Text[/fo:block] 

step 4:Modify java source
Driver driver = new Driver();
driver.setInputSource(new InputSource (args[0]));
driver.setOutputStream(new FileOutputStream(args[1]));
driver.setRenderer(Driver.RENDER_PDF);
//Read configure file.
Options options = new Options(new File("userconfig.xml"));
driver.run();


U will see the right pdf in chinese or japanese. Good Luck!


Reply via email to