You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Philip Helger (JIRA)" <ji...@apache.org> on 2016/07/20 11:51:20 UTC

[jira] [Commented] (PDFBOX-2838) Please make PDPageContentStream non-final

    [ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org