Hi, > Martin Minka <[email protected]> hat am 5. Dezember 2013 um 22:11 > geschrieben: > > > So far I was able to solve all my problems with pdfbox, but at this moment > I got very much lost. > > My problem is similar to one described with code example here : > http://stackoverflow.com/questions/13274578/java-write-national-characters-to-pdf-using-pdfbox > > I want to print to PDF text with characters like: "ŽžŤťČ芚Áá" or the > german characters "üöäÄÜÖß". > > Is there existing solution ? No, not yet. PDFBox supports only WinANSI encoded true type fonts. Some/most of the mentioned special characters should work as long as you pass CP1252 encoded string to the drawString method.
> I found few bugs related to utf8 in Jira and few questions on > stackoverflow, tried a lot, but at this moment I really got lost. PDFBOX-922 [1] will add unicode support to PDFBOX. > Thank you for any hint, > Martin BR Andreas Lehmkühler [1] https://issues.apache.org/jira/browse/PDFBOX-922

