pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@ainfach.de
Subject Pdfbox + Unicode
Date Tue, 06 Jan 2015 22:19:29 GMT
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

Mime
View raw message