Hello, I develop an application and I try to export some data to a pdf file. For this I choose the PDFBox. But my text is greek, and I can't get the pdf file show texte properly.
Can I set the encoding? like utf-8, iso-8859-7(greek encoding), I found that is about font, I have a font with greek characters for example verdana.ttf
I use
Java Code:
PDFont font = PDTrueTypeFont.loadTTF(doc, "verdana.ttf");
...
...
contentStream.setFont(font, 12);
But the final pdf file, not showing properly the greek characters and also get the error message font verdana contains bad /widths.

Thank you for your time,and I hope to help me!