Hello, I still seem to have trouble getting form fields with Comb = true to
work....

In the past I have successfully used PDFBox to fill PDF forms from Java.
These forms I have typically created using Open/Libre-Office. When setting a
field value the field shows up in the form, and if I set the comb flag
(setComb(true)) the text in the field is nicely combed across the field.

I am now trying to fill a form that is created in Adobe Lifecycle and I am
able to set the value of the field, but the combing formatting is lost. I.e.
when I open the file in Adobe Reader the text is left-aligned and not
combed. I have tried the form both in PDF version 1.4 and 1.6 with the same
results.

I did some investigations into the the stored files (.pdf) and found that
for the form that was created with Adobe and then updated by PDFBox the
value was present in 2 places in the file, while it was only stored in one
place in the form that I made in Libre Office. In the file where it was
stored twice it is once in a stream /Tx BMC in a BBox and once in a /DA
object in the /V attribute.

Has anyone got an idea of whether this should work at all? Any help would be
appreciated.

Best regards


Tor Neple

Reply via email to