You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/01/10 17:14:58 UTC

[jira] [Commented] (PDFBOX-3647) Shading cut off

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

Tilman Hausherr commented on PDFBOX-3647:
-----------------------------------------

The bbox is rotated. Our shading implementation doesn't support a rotated BBox. I'll deactivate (and later remove) the BBox handling from the shading classes, it can be done by java itself, by intersecting with the painting area.

I won't fix this in 1.8, PageDrawer is different there, and nobody who cares about rendering would want to use 1.8.


> Shading cut off
> ---------------
>
>                 Key: PDFBOX-3647
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3647
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.8.13, 2.0.4
>            Reporter: Tilman Hausherr
>              Labels: shading
>         Attachments: PDFBOX-3647.pdf
>
>
> The attached file is reduced from file "***417" that I mentioned in PDFBOX-3000. The shading is all black (type 0 function that is all black). It is cut off in rendering by PDFBox. This is somehow related to the BBox and to the cm operation before the sh. Changing them changes the cutoff.



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