Re: International characters only show correctly when form field is selected

2018-03-13 Thread Tilman Hausherr
Am 09.03.2018 um 19:20 schrieb Tilman Hausherr: What I could do is to search (with code) for a file that is similar to yours, i.e. acroform, a field with type 1 font and DictionaryEncoding. This may take some time, maybe next week. Issue created: https://issues.apache.org/jira/browse/PDF

Re: International characters only show correctly when form field is selected

2018-03-09 Thread Tilman Hausherr
Am 09.03.2018 um 19:40 schrieb Scott Tomer: Thanks, again, I really appreciate your help. Also, just an FYI, I found where my code is giving the following exception when trying to use those characters: Exception: U+0144 ('nacute') is not available in this font Times-Roman (generic: NimbusRomNo

Re: International characters only show correctly when form field is selected

2018-03-09 Thread Scott Tomer
Thanks, again, I really appreciate your help. Also, just an FYI, I found where my code is giving the following exception when trying to use those characters: Exception: U+0144 ('nacute') is not available in this font Times-Roman (generic: NimbusRomNo9L-Regu) encoding: StandardEncoding with diffe

Re: International characters only show correctly when form field is selected

2018-03-09 Thread Tilman Hausherr
Ok, now I don't have further questions, but I am still wondering what is going on :-( What I could do is to search (with code) for a file that is similar to yours, i.e. acroform, a field with type 1 font and DictionaryEncoding. This may take some time, maybe next week. In the meantime, what

Re: International characters only show correctly when form field is selected

2018-03-09 Thread Tilman Hausherr
Hi, Could you open the /DR part completely, both the one here and in Acroform/DR ? And the "N" part too, if there are any resources with fonts. This is to see how "TiRo" is configured. Normally it should bring an exception, like this when trying to assign "Stanisław" in the CreateSimpleForm e

Re: International characters only show correctly when form field is selected

2018-03-09 Thread Scott Tomer
Also, as an FYI, when I pull this up in the debugger, I get the following in my command line: Mar 09, 2018 10:40:45 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont toUnicode WARNING: No Unicode mapping for .notdef (1) in font Times-Roman Mar 09, 2018 10:40:45 AM org.apache.pdfbox.rendering.Type1Gly

Re: International characters only show correctly when form field is selected

2018-03-09 Thread Scott Tomer
It is generated at a customer. Here is an image from the debugger: Thanks > On Mar 8, 2018, at 8:47 PM, Tilman Hausherr wrote: > > Is the form generated in your company? If yes, can you generate an empty form > with just one field? > > If not, please open the file with PDFDebugger and click

Re: International characters only show correctly when form field is selected

2018-03-09 Thread Alessandro Bellini
Oh0u8e Il 08/Mar/2018 20:42, "Scott Tomer" ha scritto: > All, > > I’m new to the list, but tried to search pdfbox-users.markmail.org < > http://pdfbox-users.markmail.org/> before asking with no luck. > > We are using pdfbox to fill in some form fields in an Adobe generated > template but getting

Re: International characters only show correctly when form field is selected

2018-03-08 Thread Tilman Hausherr
Is the form generated in your company? If yes, can you generate an empty form with just one field? If not, please open the file with PDFDebugger and click "show internal structure" and then show the appearance stream (/AP/N ) and the default appearance (/DA) of the field. Also the deta

Re: International characters only show correctly when form field is selected

2018-03-08 Thread Scott Tomer
I’m using 2.0.8. I do not have permission, nor a public site to upload the PDF to, sorry. Thanks > On Mar 8, 2018, at 4:01 PM, Maruan Sahyoun wrote: > > Hi Scott, > >> Am 08.03.2018 um 20:42 schrieb Scott Tomer : >> >> All, >> >> I’m new to the list, but tried to search pdfbox-users.markma

Re: International characters only show correctly when form field is selected

2018-03-08 Thread Maruan Sahyoun
Hi Scott, > Am 08.03.2018 um 20:42 schrieb Scott Tomer : > > All, > > I’m new to the list, but tried to search pdfbox-users.markmail.org > before asking with no luck. > > We are using pdfbox to fill in some form fields in an Adobe generated > template but g