You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/03/12 17:17:00 UTC

[jira] [Resolved] (PDFBOX-4150) Optimize clipping text rendering modes

     [ https://issues.apache.org/jira/browse/PDFBOX-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-4150.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0 PDFBox
                   2.0.9

> Optimize clipping text rendering modes
> --------------------------------------
>
>                 Key: PDFBOX-4150
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4150
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 2.0.8
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: optimization
>             Fix For: 2.0.9, 3.0.0 PDFBox
>
>
> I noticed that the file from PDFBOX-2035 needs 210 seconds on my new PC. The profiler shows that much time is lost in {{java.awt.geom.AreaOp.pruneEdges}}. A google search hit the linked SO issue. So I changed PageDrawer. Times on new PC with energy setting to maximum:
>  - PDFBOX-1350: 53 secs before, 12 secs after
>  - PDFBOX-2035: 210 secs before, 9 secs after
>  - all tests: 424 secs before, 247 secs after (the difference is mostly because of PDFBOX-2035 which prevents termnination of the test)
>  - all tests except the two: 246 secs before, 230 secs after



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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