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

Andrei Minin commented on PDFBOX-5049:
--------------------------------------

[^PlainText.patch]I faced same problem in pdfbox 2.0.30 - created and applied 
patch - it completed my test case in 15 sec, previously I could read a book for 
1 hrs waiting for 100% CPU box merging pdf. Please see attached patch.

> PlainText.Paragraph.getLines extremely slow on long lines
> ---------------------------------------------------------
>
>                 Key: PDFBOX-5049
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5049
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.21
>            Reporter: Tilman Hausherr
>            Priority: Major
>         Attachments: GHOSTSCRIPT-690526-0.pdf, GHOSTSCRIPT-692591-0.pdf, 
> GHOSTSCRIPT-692591-2.pdf, PlainText.patch
>
>
> The three attached files are very slow when constructing the appearance on 
> the field "gendate" (on the last page). That is a multiline field but with an 
> extremely long text.
> It happens at "// single word does not fit into width".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to