ICEpdf
  1. ICEpdf
  2. PDF-1245

Missing text on pdfbox-layouts generated pdf with justified text

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.3.1
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      online demo viewer on icepdf's page

      Description

      If I upload the example pdf from this url: https://github.com/ralfstuckert/pdfbox-layout/blob/master/examples/lowleveltext.pdf to your online demo viewer, the pdf is rendered with missing text. In all lines with justified text, only the first word is rendered. I.e. the first three lines of the main text read:
      Lorem
      sadipscing
      tempor
      Three other viewers I tried (Adobe Acrobat Reader, evince, zathura) show the pdf rendered correctly.
      The pdf is a valid 1.4 pdf according to https://www.pdf-online.com/osa/validate.aspx

      We have observed the problem also with other pdfs generated with pdfbox-layout and viewed with ice-pdf; also in that case, only justified text is missing.
      1. lowleveltext.pdf
        4 kB
        Nikolaus Mutsanas
      1. icepdf_pdfbox_layout.png
        100 kB
      2. icepdf-6.3.1-SNAPSHOT-SNAPSHOT.png
        71 kB

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #52372 Tue Apr 03 14:29:27 MDT 2018 patrick.corless PDF-865 fairly major text parsing change to correctly handle cm tokens
          in a text block. Fixes three other issues, PDF-1245 and PDF-1131.
          Files Changed
          Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/util/content/AbstractContentParser.java

            People

            • Assignee:
              Patrick Corless
              Reporter:
              Nikolaus Mutsanas
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: