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

Long rendering time of fonts in a specific PDF

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. image-2020-01-18-04-11-00-132.png
          134 kB
          Tilman Hausherr
        2. slow_rendering.pdf
          890 kB
          Daniel Persson
        3. without_images.pdf
          84 kB
          Daniel Persson
        4. without_text.pdf
          1005 kB
          Daniel Persson

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lehmi Andreas Lehmkühler
            kalaspuffar Daniel Persson

            Dates

              Created:
              Updated:

              Slack

                Issue deployment