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

Long rendering time of fonts in a specific PDF

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.32, 3.0.3 PDFBox, 4.0.0
    • 2.0.33, 3.0.4 PDFBox, 4.0.0
    • None
    • None
    • Gentoo Linux, Java 8

    Description

      Hi Team.

       

      We have found a PDF that takes a long time to render images.

       

      After some checking, we found that the one page takes more than 2 minutes to render, but if we remove the font information and render the PDF without text, it takes 3 seconds.

       

      Just looking at the font information, it doesn't seem to be a lot of data. 3-5kb per font and there are only about seven fonts defined. So there must be something else that complicates things.

       

      Best regards

      Daniel

      Attachments

        1. without_text.pdf
          1005 kB
          Daniel Persson
        2. without_images.pdf
          84 kB
          Daniel Persson
        3. slow_rendering.pdf
          890 kB
          Daniel Persson
        4. image-2020-01-18-04-11-00-132.png
          134 kB
          Tilman Hausherr

        Issue Links

          Activity

            People

              lehmi Andreas Lehmkühler
              kalaspuffar Daniel Persson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: