[
https://issues.apache.org/jira/browse/PDFBOX-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Brown updated PDFBOX-3333:
----------------------------------
Attachment: formfill_SNAPSHOT_2.1.0.png
FillFormField_pdfbox_2.1.0.pdf
Sorry, it is probably me; I recompiled the source and tried again. I'm not a
Java developer: this is literally my first Java app ever. I'm a Rails
developer forced to look for a decent PDF solution on Linux (I deploy to Ubuntu
but develop on a Mac).
Now with the 2.1.0 SNAPSHOT I was able to see the rotated text correctly. BUT
I'm seeing the spacing issue from PDFBOX-3332 now in some of the rotated text.
Note the red text in the lower left corner and the text above it. Preview the
PDF and you'll see the spacing issue. Open it in Acrobat and it appears
correct.
FillFormField_pdfbox_2.1.0.pdf - Filled PDF
formfill_SNAPSHOT_2.1.0.png - PDFBox generated PNG
> Wrong appearance generation for rotated AcroForms fields
> --------------------------------------------------------
>
> Key: PDFBOX-3333
> URL: https://issues.apache.org/jira/browse/PDFBOX-3333
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.1, 2.0.2, 2.1.0
> Environment: Mac OS X development, Ubuntu production
> Reporter: Richard Brown
> Assignee: Maruan Sahyoun
> Priority: Critical
> Labels: Appearance
> Fix For: 2.0.2, 2.1.0
>
> Attachments: 000001_3VW7T7AT1FM805256.png,
> 000002_3VW7T7AT1FM805256.pdf, 000002_3VW7T7AT1FM805256_450_450.png,
> 000006_1J4GR48K66C183410.pdf, 000006_1J4GR48K66C183410_200_600.png,
> 000006_1J4GR48K66C183410_iText.pdf, 000006_1J4GR48K66C183410_iText.png,
> 000063_WAU3FAFR4CA029987.pdf, 000063_WAU3FAFR4CA029987_good.pdf,
> AcroFormsRotation.pdf, AcroFormsRotation.pdfbox.pdf,
> BlueWideSticker1-pdfbox-r1741882.png, BlueWideSticker1.pdf,
> FillFormField.pdf, FillFormField_pdfbox_2.1.0.pdf, ForSaleSign_Black.pdf,
> ForSaleSign_Black.pdfbox.pdf, ForSaleSign_Black.pdfbox.png, formfill.png,
> formfill_SNAPSHOT_2.1.0.png, surefire-reports.zip
>
>
> When filling a PDF field that is rotated the resulting generated PDF has the
> correct format. But when you generate an image of the PDF the image has the
> text in those rotated fields as not rotated.
> I have tried a variety of templates and they all do the same thing: view the
> preview of the PDF and see unrotated text. Open the PDF and see the
> correctly rotated text.
> Note that I generate the same PDF using iText 5.5.9 and the preview is
> correct, the text is correctly rotated. I'm basically bouncing back and
> forth between iText and PDFBox trying to find a working solution.
> If it makes any difference I'm using an FDF file to fill with iText and an
> XFDF file for PDFBox because I can't figure out how to load an FDF in 2.0.1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]