This is the PDF, in case you need it for testing: http://www.uscis.gov/sites/default/files/files/form/n-400.pdf
On Wed, May 28, 2014 at 11:24 AM, Andres Martinez Quijano < [email protected]> wrote: > I'm guessing the mailing list breaks up format, here they are: > > pdfbox output: http://i.imgur.com/yjjhE51.png > desired output (as edited with evince or similar): > http://i.imgur.com/s5BnXK6.png > > > On Wed, May 28, 2014 at 11:19 AM, Gilad Denneboom < > [email protected]> wrote: > >> Still doesn't work... Maybe upload them to imgur.com and post the links >> instead. >> >> >> On Wed, May 28, 2014 at 4:17 PM, Andres Martinez Quijano < >> [email protected] >> > wrote: >> >> > Exactly, that's the issue >> > >> > Sorry, I'm attaching the images again (instead of embedding) >> > >> > >> > On Wed, May 28, 2014 at 11:11 AM, Gilad Denneboom < >> > [email protected]> wrote: >> > >> >> Did you try to attach images or files to your email? >> >> >> >> So you have a comb field that you're setting via PDFBox, and it doesn't >> >> show up as combed when you open it? Is that the issue? >> >> >> >> >> >> On Wed, May 28, 2014 at 3:43 PM, Andres Martinez Quijano < >> >> [email protected] >> >> > wrote: >> >> >> >> > It's already set by the pdf file >> >> > >> >> > PDTextbox an1 = ... >> >> > System.out.println(an1.shouldComb()); // outputs true >> >> > System.out.println(an1.getMaxLen()); // outputs 9 >> >> > >> >> > And it renders the pdf like this: >> >> > >> >> > >> >> > If I edit the field with evince (https://wiki.gnome.org/Apps/Evince) >> it >> >> > renders it like this (the desired effect) >> >> > >> >> > >> >> > Any clues? >> >> > >> >> > >> >> > >> >> > On Wed, May 28, 2014 at 10:35 AM, Gilad Denneboom < >> >> > [email protected]> wrote: >> >> > >> >> >> Did you also set the max length property? >> >> >> >> >> >> >> >> >> On Wed, May 28, 2014 at 2:05 PM, Andres Martinez Quijano < >> >> >> [email protected] >> >> >> > wrote: >> >> >> >> >> >> > Hi >> >> >> > >> >> >> > I have a PDF (which was created with Adobe LiveCycle Designer ES >> 9.0) >> >> >> and I >> >> >> > use pdfbox to fill it's forms. >> >> >> > >> >> >> > I have some particular fields which have combing enabled (i.e. >> >> >> > field.shouldComb() == true), but when rendering the PDF with the >> >> value, >> >> >> it >> >> >> > doesn't comb like it should. I saw that the shouldComb() method >> isn't >> >> >> being >> >> >> > called anywhere. >> >> >> > >> >> >> > Am I missing something to be able to render the PDF with combing >> for >> >> >> those >> >> >> > fields or it isn't implemented yet? In the latter case, any >> >> pointings on >> >> >> > how to implement it myself? >> >> >> > >> >> >> > Thanks >> >> >> > >> >> >> >> >> > >> >> > >> >> >> > >> > >> > >

