You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "savan patel (JIRA)" <ji...@apache.org> on 2017/12/06 18:25:00 UTC
[jira] [Commented] (PDFBOX-4029) Rendering transparency groups
(remaining files)
[ https://issues.apache.org/jira/browse/PDFBOX-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16280627#comment-16280627 ]
savan patel commented on PDFBOX-4029:
-------------------------------------
Was this code working for all the PDFs?
if (flipTG)
{
graphics.translate(0, image.getHeight());
graphics.scale(1, -1);
}
else
graphics.translate(x * xScale, y * yScale);
> Rendering transparency groups (remaining files)
> -----------------------------------------------
>
> Key: PDFBOX-4029
> URL: https://issues.apache.org/jira/browse/PDFBOX-4029
> Project: PDFBox
> Issue Type: Sub-task
> Components: Rendering
> Affects Versions: 2.0.7, 2.0.8
> Environment: Windows 10
> Reporter: savan patel
> Labels: patch
> Attachments: PDFJS-5526-p11-13.pdf, PDFJS-5526-p13_reduced1.pdf, PageDrawer.java.patch, gs-bugzilla692217_reduced.pdf
>
>
> i have gone through the "[PDFBOX-3000] Transparency Group issues"...
> and there are some issues in pdfs that i have attached...
> Every time showTransparencyGroup() method is called the current graphics is translated by (x*xScale and y*yScale) which i assume is wrong.
> I think when transparencyGroup comes in pattern stream, then current graphics should not changed. as well as when patterns are nested then no need to change the parent graphics.
> i tried to fix it. i have attached the patch...
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org