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

Philip Helger commented on PDFBOX-2838:
---------------------------------------

With PDFBOX-3353 an {{PDAbstractContentStream}} class was added (in 
2.1.0-SNAPSHOT) that may serve the purpose.

> Please make PDPageContentStream non-final
> -----------------------------------------
>
>                 Key: PDFBOX-2838
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2838
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Philip Helger
>            Assignee: John Hewson
>             Fix For: 2.0.0
>
>         Attachments: PDPageContentStreamWithCache.java
>
>
> Please make PDPageContentStream non-final as in certain cases it might be 
> helpful to cache the last set data on an PDPageContentStream (such as the 
> last used Font) to avoid bloating the created PDF. Therefore the methods must 
> be overridable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to