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 2014/08/27 21:17:57 UTC

[jira] [Updated] (PDFBOX-2098) Gouraud shading doesn't appear

     [ https://issues.apache.org/jira/browse/PDFBOX-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-2098:
------------------------------------

    Attachment: PDFBOX-2098-asyTUG.pdf-6.png

New rendering when using the substream matrix too:
{code}
Matrix patternMatrix = shadingPattern.getMatrix();
if (patternMatrix == null)
{
    return shading.toPaint(substreamMatrix);
}
return shading.toPaint(patternMatrix.multiply(substreamMatrix));
{code}

> Gouraud shading doesn't appear
> ------------------------------
>
>                 Key: PDFBOX-2098
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2098
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>              Labels: shading, shadingpattern
>         Attachments: PDFBOX-2098-asyTUG.pdf-6.png, asyTUG.pdf, asytug.pdf-6.png
>
>
> There is a gray gouraud shading on page 6 of the attached PDF file that does't appear. One cause is similar to a few other such examples, e.g. PDFBOX-1947 and PDFBOX-1968, although I don't know if it is a duplicate: the paint context object is created, but getRaster() is never called.



--
This message was sent by Atlassian JIRA
(v6.2#6252)