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

Problem with Form TextField and option "COMB"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.6
    • Fix Version/s: 1.8.7
    • Component/s: AcroForm
    • Labels:

      Description

      [imported from SourceForge]
      http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1288080
      Originally submitted by benlitchfield on 2005-09-11 15:54.

      i have a problem with form text fields when the option
      "comb of x characters" is enabled.
      One defines, how many letters should be placed inside
      the text field and the
      letters will all have the same distance between each
      other. I need this option
      because i have several fixed-length input fields and need
      to place the letters
      on the correct positions.
      an examlpe of the template-pdf placed at
      pdfboxexample_before.pdf
      when filling the form fields with pdfbox everyting works
      fine, but the comb-option
      gets almost lost. the output pdf does not display the
      form fields correctly,
      the comb-option seems to be activated when focussing
      one form field and deactivated
      on leaving that field. the fields are not read-only, so one
      can edit them in
      the output-pdf also. when doing that, the comp-options
      comes back and the letters
      stay in place when leaving the form field.
      an example of the output-pdf is placed at
      pdfboxexample_after.pdf

      [comment on SourceForge]
      Originally sent by seafoxx.
      Logged In: YES
      user_id=305823

      hi folks,

      just for info:

      might be the same problem as described in bug 1118054
      http://sourceforge.net/tracker/index.php?func=detail&aid=1118054&group_id=78314&atid=552832

      the form field is not displayed as it should be, happens
      with different fonts or attributes (my problem), happens
      with rotated fields in a usual page (barcode problem of
      _daniel) and happens with usual fields on a rotated page. It
      simply seems to be a problem that form fields are displayed
      wrong if some parameter is not set to default.

      i'd like to know if the form field changes it's way of
      being
      displayed when setting the cursor into the field. this
      usually happens with fields described in the other bug.

      see ya
      bastian

        Attachments

        1. PDFBOX-91.PDFBoxRendering-20140915.png
          19 kB
          Maruan Sahyoun
        2. PDFBOX-91.AcrobatRendering-20140915.png
          24 kB
          Maruan Sahyoun
        3. Reader_CombField.png
          13 kB
          Maruan Sahyoun
        4. PDFBox_CombField.png
          14 kB
          Maruan Sahyoun
        5. PDFBOX-91.mod.png
          18 kB
          Maruan Sahyoun
        6. PDFBOX-91.mod.pdf
          555 kB
          Maruan Sahyoun
        7. PDFBOX-91.pdf
          571 kB
          Maruan Sahyoun
        8. n-400.pdf
          1.48 MB
          Luis Herrero

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Anonymous
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: