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

Alignment Issue in textfield

    XMLWordPrintableJSON

Details

    Description

      In new.pdf, if you just type a value in the 'Player 1' field, the value aligned left correctly. If we use to fill the value with PDFBOX jar. It aligned the value in the center. But I checked the Q value it showing as 1 in pdfbox. Since we're not specifying any alignment information but it took like Q=1 in pdfbox.

      It create some comptability issue while using over other pdf readers.

      Issue fixed with setQ(0), but other readers were working fine without any alignment information.

      I'm checked formFieldProp.png info using https://www.pdfescape.com  It showing alignment value as left.

      https://mail-archives.apache.org/mod_mbox/pdfbox-users/202002.mbox/browser

      Attachments

        1. PDFBOX-4761-flattened-after.pdf
          109 kB
          Maruan Sahyoun
        2. PDFBOX-4761-flattened-before.pdf
          109 kB
          Maruan Sahyoun
        3. formFieldProp.png
          22 kB
          Baskar Murrugan
        4. new.pdf
          117 kB
          Baskar Murrugan

        Issue Links

          Activity

            People

              msahyoun Maruan Sahyoun
              baskarboss Baskar Murrugan
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: