By Date: <-- -->
By Thread: <-- -->

Parsing xml with polish character



saxenashyam wrote:

Hi Bruno,

BaseFont  bfComic =BaseFont.createFont(BaseFont.HELVETICA, "ISO-8859-2", BaseFont.NOT_EMBEDDED);
Is this is correct way....

The problem is that BaseFont.HELVETICA probably doesn't have the Polish characters you need.
You have to look for another font. Are you working in a Windows environment?
Then see if you find c://windows/fonts/arial.ttf
and use createFont("c://windows/fonts/arial.ttf", "ISO-8859-2", BaseFont.EMBEDDED);
br,
Bruno



------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ iText-questions mailing list iText-questions (at) lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions