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

          Hide
          Patrick Corless added a comment -

          Do you have a sample file you can upload?

          Show
          Patrick Corless added a comment - Do you have a sample file you can upload?
          Hide
          Nikolaus Mutsanas added a comment -

          See attached file. It's the one linked in the description

          Show
          Nikolaus Mutsanas added a comment - See attached file. It's the one linked in the description
          Hide
          Patrick Corless added a comment -

          This is a very similar issue to PDF-865. The sample is actually quite helpful as we have only one other test file that exhibits this issue.

          Show
          Patrick Corless added a comment - This is a very similar issue to PDF-865 . The sample is actually quite helpful as we have only one other test file that exhibits this issue.
          Hide
          Patrick Corless added a comment -

          fixed.

          Show
          Patrick Corless added a comment - fixed.
          Hide
          Nikolaus Mutsanas added a comment -

          Thank you for the fix! I'm just wondering, should this be already available in the 6.3.1-SNAPSHOT-SNAPSHOT version? Both the online demo viewer and the one we downloaded still exhibits the bug, see screenshot. Is the bugfix available to the public already?

          Show
          Nikolaus Mutsanas added a comment - Thank you for the fix! I'm just wondering, should this be already available in the 6.3.1-SNAPSHOT-SNAPSHOT version? Both the online demo viewer and the one we downloaded still exhibits the bug, see screenshot. Is the bugfix available to the public already?
          Hide
          Patrick Corless added a comment -

          The examples haven not been updated. You'll need to go to our svn repo and build the jars. Should have an official release by end of month.

          Show
          Patrick Corless added a comment - The examples haven not been updated. You'll need to go to our svn repo and build the jars. Should have an official release by end of month.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: