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

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

    Attachment: GouraudShadingContest.java
                Type5ShadingContext.java
                Type4ShadingContext.java
                GouraudTriangle.java
                Vertex.java
                Type5ShadingPaint.java

Code for type 4 and (new) 5 shading, refactored. The two changes in other 
classes described previously must be done analog for type 5. The background 
problem is not just "not knowing what to paint there" because this time (see 
lattice1.pdf) there is text around the pattern which is missing in the rendered 
image. Any help is appreciated.

> 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, GouraudShadingContest.java, 
> GouraudTriangle.java, Type4ShadingContext.java, 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, color_gradient.pdf, 
> color_gradient.pdf-1.png, decahed.pdf-1.png, input.pdf, input1.png, 
> pdfbox-1.8.patch, 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