Issue with PDFBox -Displaying Unicode characters
i am trying to display the &ge;(for greater than or equal to) characters in pdf through Apache PDFBox.  I am able to display the characters like &deg; 

I am using the following to set the font type where the required symbol is available.

PDFont font=PDTrueTypeFont.loadTTF(document, "c:/symbol.ttf");

The above declaration is showing the java.lang.NullPointerException.

When i use any other type of font like arialuni.ttf, the &ge; is showing some other characters, not the required symbol.

Is it possible to display the required character in pdf.


Sailaja
Issue with PDFBox -Displaying Unicode characters
===

i am trying to display the &ge;(for greater than or equal to) characters in pdf through Apache PDFBox.  I am able to display the characters like &deg; 

I am using the following to set the font type where the required symbol is available.

PDFont font=PDTrueTypeFont.loadTTF(document, "c:/symbol.ttf");

The above declaration is showing the java.lang.NullPointerException.

When i use any other type of font like arialuni.ttf, the &ge; is showing some other characters, not the required symbol.

Is it possible to display the required character in pdf.


Sailaja