This is a known issue with 1.8 which has been fixed in the 2.0 trunk. There 
isn't an official release but you can use a development snapshot.

-- John

> On 6 Jan 2015, at 14:19, [email protected] wrote:
> 
> Hello, 
> 
> i am trying to print a "€" char using pdfbox. The char will end up in "þÿ
> ¬". 
> i tryed to use PDType1Font.HELVETICA and loading Open Sans using
> "PDTrueTypeFont.loadTTF(document, "Open_Sans/OpenSans-Regular.ttf");
> 
> i googled and found a lot of hacks around this issue, but i need to calculate 
> the
> width of the text later on.
> 
> is there a useable unicode / utf-8 support in pdfbox?
> 
> thanks,
> Tim

Reply via email to