You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Daniel Persson (Jira)" <ji...@apache.org> on 2020/01/17 20:36:00 UTC

[jira] [Comment Edited] (PDFBOX-4743) Long rendering time of fonts in a specific PDF

    [ https://issues.apache.org/jira/browse/PDFBOX-4743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018294#comment-17018294 ] 

Daniel Persson edited comment on PDFBOX-4743 at 1/17/20 8:35 PM:
-----------------------------------------------------------------

Hi Tilman.

 

I have added two new PDFs. One without the instructions to set a font and write text. And the other one without drawing instructions for images.

 

Without images is slow, without text is fast.

 

Best regards

Daniel


was (Author: kalaspuffar):
Hi Tilman.

 

I have added two new images. One without the instructions to set a font and write text. And the other one without drawing instructions for images.

 

Without images is slow, without text is fast.

 

Best regards

Daniel

> Long rendering time of fonts in a specific PDF
> ----------------------------------------------
>
>                 Key: PDFBOX-4743
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4743
>             Project: PDFBox
>          Issue Type: Improvement
>         Environment: Gentoo Linux, Java 8
>            Reporter: Daniel Persson
>            Priority: Minor
>         Attachments: slow_rendering.pdf, without_images.pdf, without_text.pdf
>
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org