View Single Post
Old 05-01-2009, 02:56 PM   #182
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by alxwang View Post
HTML works but:
1. Image reference got problem.
2. Random crash about index outbound

Or you can add one more param to let me give you what base font I installed for Chinese?
Then you can use the font I papered to create PDF.
For example:
-basefont "/usr/share/fonts/ttf/
fc-cache/msyh.ttf"

You can just create all font like:
BaseFont.createFont("/usr/share/fonts/ttf/
fc-cache/msyh.ttf", BaseFont.IDENTITY_H,BaseFont.NOT_EMBEDDED);

Thanks
Well, I only have had success using truetype collections. This new parameter is "-cfont filename.ttc f#", that chooses the font number f# from the collection. Using msgothic.ttc, f#=1 something is displayed on the pdf, but I do not know if it is correct...
I'm packaging new version now to upload.
elinares is offline   Reply With Quote