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

Tilman Hausherr updated PDFBOX-615:
-----------------------------------

    Attachment: ch14.pdf
                ch14.pdf-13.png
                GouraudShadingContext.patch

Bugfix patch for GouraudShadingContext - don't  the "new" values array only 
once, because in certain cases it has a larger size after getting 
tint-transformed, which then results in an index bounds overflow the next time 
that shadingTinttransform.eval() is called. 

The good news is that for the first time, I was able to render page 13 of 
ch14.pdf (newly generated with gs, not the file from the website).

> shfill operator needs implementation
> ------------------------------------
>
>                 Key: PDFBOX-615
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-615
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel
>            Reporter: Daniel Wilson
>            Assignee: Daniel Wilson
>         Attachments: Centerplan.pdf, DECAHED.pdf, GouraudShadingContext.java, 
> GouraudShadingContext.patch, GouraudTriangle.java, LATTICE1.pdf, 
> LATTICE2.pdf, PDShadingPatternResources.patch, Type4ShadingContext.java, 
> Type4ShadingPaint.java, Type5ShadingContext.java, Type5ShadingPaint.java, 
> Vertex.java, axial-input-after.png, axial-input-before.png, axial-input.pdf, 
> bugzilla843488.pdf, bugzilla843488.pdf-1.png, ch14.pdf, ch14.pdf-13.png, 
> color_gradient.pdf, color_gradient.pdf-1.png, decahed.pdf-1.png, input.pdf, 
> input1.png, lattice1.pdf-1.png, lattice2.pdf-1.png, pdfbox-1.8.patch, 
> pdfbox-615-radial-input.pdf-1.png, pdfbox.patch, pslib-shading.pdf, 
> radial-input-after.png, radial-input-before.png, radial-input.pdf, 
> shading_pattern.pdf, shading_pattern.pdf-2.png, trityp4.pdf-1.png
>
>
> I have a PDF file (for which I do not yet have release permission) that uses 
> the "sh" operator, equivalent to PostScript's shfill (per PDF spec 1.7 page 
> 987).
> Adobe provides implementation guidance in a 78-page document at 
> http://www.adobe.com/devnet/postscript/pdfs/TN5600.SmoothShading.pdf#17
> I will be trying to add this functionality this week, but if anyone has 
> hints, suggestions, etc. they are most certainly welcome!



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to