S
Swetha
Hello everyone
I have a Java application that writes to a PDF file using the gnujpdf
API. When I write English text to the PDF file it works fine.
The problem I encounter is when I try writing Arabic text to the file.
They end up as ???? (question marks). The Arabic strings to be written
to the pdf are present in Properties files in Unicode form.
When I display these Arabic strings on the screen using the Graphics
object, they appear perfectly fine. But the same Graphics object when
passed to the API's dispose method, ends up showing me only question
marks.
Does anyone have any ideas on how to work around this problem or solve
it? Has anyone tried writing Arabic text to PDF using gnujpdf before?
Thanks
Swetha
I have a Java application that writes to a PDF file using the gnujpdf
API. When I write English text to the PDF file it works fine.
The problem I encounter is when I try writing Arabic text to the file.
They end up as ???? (question marks). The Arabic strings to be written
to the pdf are present in Properties files in Unicode form.
When I display these Arabic strings on the screen using the Graphics
object, they appear perfectly fine. But the same Graphics object when
passed to the API's dispose method, ends up showing me only question
marks.
Does anyone have any ideas on how to work around this problem or solve
it? Has anyone tried writing Arabic text to PDF using gnujpdf before?
Thanks
Swetha