You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Eugene Chang (JIRA)" <ji...@apache.org> on 2012/10/31 05:59:11 UTC

[jira] [Updated] (PDFBOX-1434) Font being changed after form field is set

     [ https://issues.apache.org/jira/browse/PDFBOX-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene Chang updated PDFBOX-1434:
---------------------------------

    Attachment: TestBed1.java
                forms26916.pdf
                PRP.pdf

PRP.pdf:
    original file with Courier font
forms26916.pdf:
    font being changed after setting a value
TestBed1.java:
    program to duplicate problem
                
> Font being changed after form field is set
> ------------------------------------------
>
>                 Key: PDFBOX-1434
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1434
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel.AcroForm
>    Affects Versions: 1.7.1
>         Environment: Windows XP Professional, java version "1.6.0_37"
>            Reporter: Eugene Chang
>            Priority: Minor
>              Labels: fields, font
>         Attachments: forms26916.pdf, PRP.pdf, TestBed1.java
>
>
> We have encounter a problem when using pdfbox.
> We have a pdf form with fields and font set to Courier (please see attached pdf file PRP.pdf).
> After running the program TEstbed1.java which tries to set the value of one of the fields, font was being changed to Helvetica (please see attached pdf file forms26916.pdf).
> Is there any way we can set the values and retain the original font?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira