Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1434

Font being changed after form field is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.1
    • 1.8.0
    • AcroForm
    • Windows XP Professional, java version "1.6.0_37"

    Description

      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?

      Attachments

        1. PDFBOX-1434-appearance.patch
          3 kB
          Eric Leleu
        2. TestBed1.java
          0.9 kB
          Eugene Chang
        3. forms26916.pdf
          155 kB
          Eugene Chang
        4. PRP.pdf
          182 kB
          Eugene Chang

        Issue Links

          Activity

            People

              leleueri Eric Leleu
              echang Eugene Chang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: