This content has been marked as final.
Show 2 replies
-
1. Re: PDF Encoding problem
ekindino Jun 2, 2010 9:48 AM (in response to ekindino)After hours of research, a simple solution presented itself.
FontFactory.defaultEncoding = "Cp1254";
This sets the default encoding for iText as Cp1254 so the secondary font created for the bold part turns out ok. Not a real solution but works well enough for my purposes.
-
2. Re: PDF Encoding problem
enda Jul 28, 2010 7:32 PM (in response to ekindino)Howdy,
here is the trick for Unicode :)
Get font and put it in your project :)
<p:font name="/resources/arialuni.ttf" encoding="Identity-H" embedded="true"> +ěščřžýáíé+ĚŠČŘŽÝÁÍ </p:font>