I work with a web-application that creates PDF's from HTML with the library "PD4ML pro". It works like a charm, it's really much easier than coding on iText, thank you guys!
I want to integrate chinese and other languages strange characters, but I've problems with .ttf files in prod.
I've created use a "fonts.jar" file that is in my WEB-INF/lib folder.
That font.jar file contains:
- all my .ttf files
- "fonts.properties" file that contains :
#this is an autogenerated file. please remove manually any references to copyrighted fonts
#Sun Feb 06 11:45:00 CET 2011
Arial\ Bold\ Italic=arialbi.ttf
Courier\ New\ Bold=courbd.ttf
Courier\ New\ Bold\ Italic=courbi.ttf
Courier\ New\ Italic=couri.ttf
Helvetica\ Cyrillic\ Bold=Helvetica Bold.Ttf
Helvetica\ Cyrillic\ Bold\ Oblique=Helvetica Bold Oblique.Ttf
Helvetica\ Cyrillic\ Oblique=Helvetica Oblique.Ttf
In a development mode on Windows, I don't have any problem, my application works perfectly. But in a production mode on a UNIX system, special characters (like arrows) as not displayed well.
Must I absolutely copy my ttf files on the folder jre/lib/font server-side as mentionned here: http://download.oracle.com/javase/1.3/d ... tml#adding