[
https://issues.apache.org/jira/browse/PDFBOX-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550512#comment-17550512
]
Tres Finocchiaro commented on PDFBOX-5450:
------------------------------------------
bq. The license of QZ is LGPL, so I'll reimplement this from scratch based on
my own remarks. (The final product will probably look similar)
Sorry this comment missed my inbox. Although I'm sure it's not needed, the
code authored above under LGPL 2.1 license can be relicensed Apache License
v2.0 in whole or in part without any copyright attribution.
> Create Opaque PDFRenderer example
> ---------------------------------
>
> Key: PDFBOX-5450
> URL: https://issues.apache.org/jira/browse/PDFBOX-5450
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Affects Versions: 2.0.26
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.27, 3.0.0 PDFBox
>
>
> To solve the troubles from PDFBOX-4123 (low print quality of PDFs with
> unneeded transparency groups)
> As mentioned in the mailing list in [this
> thread|https://lists.apache.org/[email protected]:2022-3]
> {quote}
> Both options are related to transparency groups. These are an extension of
> XObject forms. I thought about ignoring them, i.e. treat them like ordinary
> forms.
> So I looked at PDXobject.createXObject(); this one is called by
> PDResources.getXObject(), which is called by DrawObject.process(). That one
> class can officially be replaced if you extend PageDrawer and call
> "addOperator(new DrawObject());" in the constructor; that class should have
> a slightly modified code that does NOT call showTransparencyGroup(), but only
> showForm() (there are 3 DrawObject classes, copy the one in
> org.apache.pdfbox.contentstream.operator.graphics). You can extend
> PageDrawer, but you'll have to extend PDFRenderer as well, see class comment
> of PageDrawer.
> {quote}
> and implemented by [~tresf] in [this
> commit|https://github.com/qzind/tray/blob/2a275bb729a3cf4b909fd683fbe23f7c1f8d4c2b/src/qz/printer/action/pdf/OpaquePDFRenderer.java].
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]