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

Tilman Hausherr commented on PDFBOX-3000:
-----------------------------------------

The last commit was developed by debugging the rendering of 
PDFJS-5811-2-p3_reduced4.pdf which has two nested transparency groups, none of 
which start at (0,0). After doing the upper change ({{new PDRectangle(...}}), 
many files were improved but some black rectangles started to appear in some 
files, and a mysterious vertical line appeared in the middle of a less reduced 
version, PDFJS-5811-2-p3_reduced.pdf, which has a softmask. Zooming in on that 
one showed some grey that was at about 1/2 of the square. That one gave it away 
that the softmask was also wrong by an offset, and this resulted in the second 
change, in getBounds(). This fixed quite a lot of files.

And I'm also learned something: colors at wrong position => transparency 
problem. Black squares, shadows at wrong position => softmask problem.

Improved files:
...

Changed files:
...

Worsened files:
...



> Transparency Group issues
> -------------------------
>
>                 Key: PDFBOX-3000
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3000
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>             Fix For: 2.1.0
>
>         Attachments: 007087-payment-due-p58_reduced2.pdf, 
> PDFBOX-1697-reduced-rotations.pdf, PDFBOX-2182_mod.pdf, PDFBOX-3400-RGB.pdf, 
> PDFBOX-3494_reduced.pdf, PDFBOX-3494_reduced_cropX.pdf, PDFBOX-3564-Mask.pdf, 
> PDFBox3359PanelTestEnhanced.java, PDFJS-2845-p1.pdf, 
> PDFJS-5811-2-p3_reduced.pdf, PDFJS-5811-2-p3_reduced4.pdf, 
> PDFJS-5811-2-p4_reduced-rotations.pdf, PDFJS-5811-2.pdf, 
> PDFJS-5853_reduced.pdf, ds-firewall-enterprise-p1_reduced.pdf, 
> gs-bugzilla691157.pdf, gs-bugzilla691157_mod_unc.pdf, 
> gs-bugzilla691157_mod_unc.png, gs-bugzilla691348.pdf, 
> gs-bugzilla693322_reduced.pdf, gs-bugzilla694556-3.pdf, 
> gs-bugzilla695354.pdf, gs-bugzilla695582-transparency-fill-stroke.pdf, 
> gs-bugzilla695582-transparency-fill-stroke.pdf-1.png, 
> samsung_galaxy_s_4_um-p1_reduced.pdf, softmask-rewrite-alt1.patch, 
> softmask-rewrite.patch
>
>
> This is a follow-up issue for transparency group issues from PDFBOX-2423. 
> More details to come.



--
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