[
https://issues.apache.org/jira/browse/PDFBOX-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597291#comment-14597291
]
Philip Helger edited comment on PDFBOX-2838 at 6/23/15 7:42 AM:
----------------------------------------------------------------
Please see the attached example file for how I use it currently with 1.8.9.
This can be extended of course. Hope that clarifies things. Thanks
was (Author: phax):
Example file
> 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
> 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]