Quote:
Originally Posted by alxwang
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.