uberboom / pdfforms-filler-java

A simple Java command line PDF forms filler using an XML file to set the form values.
MIT License
2 stars 2 forks source link

Unicode characters #1

Open juklicekjan opened 9 years ago

juklicekjan commented 9 years ago

Hi man,

I like to use your pdf form filler. It works well, but I have issue with writing special characters to forms by your tool. May be it is problem of PDF, but I hope you can explain me "how it works".

So, whats the problem: when I fill forms field with words withs special czech chars (čřž) in document A it works fine. But when I fill it in document B this character is not showing. I set the same font/size of field in document B and still same trouble. I even try to copy one field from document A to document B and try to fill it - the field from document A is ok (with čřž) and field which were originally in document B without "čřž".

(it is interesting that when I put cursor to field it shows chars correctly)

Have you some idea? Thank you!

uberboom commented 9 years ago

Hi,

Could you please provide some sample files (XML and PDF)? The form filler should not change the character set for standard form fields.

Thanks, Bernd