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

Tilman Hausherr commented on PDFBOX-5319:
-----------------------------------------

The mistake in the first commit was that getPaint() was called although 
setPaint() hadn't been called yet, so this brought back the bug from 
PDFBOX-2901, e.g. with the file AXSH02.pdf .

> Avoid creating Paint objects and filling when there is nothing to do
> --------------------------------------------------------------------
>
>                 Key: PDFBOX-5319
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5319
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 2.0.24
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.25, 3.0.0 PDFBox
>
>
> Mostly for future use, if we manage to combine very small clipping regions 
> that are used when printing.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to