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

Text not broken across lines after refreshAppearances

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: AcroForm
    • Labels:
      None

      Description

      PDDocument doc = PDDocument.load(new File(input));
      PDAcroForm acroform = doc.getDocumentCatalog().getAcroForm();
      if (acroform != null)

      { acroform.setNeedAppearances(false); acroform.refreshAppearances(); }

      doc.save(output);
      doc.close();

      Text is not broken into multiple lines

        Attachments

        1. input.pdf
          6 kB
          simon steiner

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ssteiner1 simon steiner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: