You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Billy Wan (JIRA)" <ji...@apache.org> on 2015/09/08 16:47:45 UTC

[jira] [Updated] (BATIK-1133) Batik-Rasterizer-1.8 (complied with FOP2.0) PDF conversion cannot convert filter correctly

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

Billy Wan updated BATIK-1133:
-----------------------------
    Attachment: text.svg
                text.png
                text.pdf
                text.jpg

Here are the files (text with filter effects), which PDF cannot generate correctly.

> Batik-Rasterizer-1.8 (complied with FOP2.0) PDF conversion cannot convert filter correctly
> ------------------------------------------------------------------------------------------
>
>                 Key: BATIK-1133
>                 URL: https://issues.apache.org/jira/browse/BATIK-1133
>             Project: Batik
>          Issue Type: Bug
>          Components: SVG Rasterizer
>    Affects Versions: 1.8, trunk
>         Environment: Batik-Rasterizer-1.8 (re-compile with FOP 2.0), Java 1.7.0.21
>            Reporter: Billy Wan
>         Attachments: text.jpg, text.pdf, text.png, text.svg
>
>
> When using the Batik-Rasterizer-1.8 (recompiled with FOP2.0), the PDF can generate successfully but it is only blank page. PNG and JPEG can generate correct image. The SVG is as below:
> <svg width="450" height="400" xmlns="http://www.w3.org/2000/svg" 
>      xmlns:xlink="http://www.w3.org/1999/xlink">
> <defs>
> <filter id="bevel" filterUnits="userSpaceOnUse">
>   <feGaussianBlur in="SourceAlpha" stdDeviation="4" result="blur"/>
>   <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
>   <feSpecularLighting surfaceScale="5" specularConstant="0.75"
>       specularExponent="20" lighting-color="#DDDDDD" in="blur"
>       result="highlight">
>     <fePointLight x="-5000" y="-10000" z="20000"/>
>   </feSpecularLighting>
>   <feComposite in="highlight" in2="SourceAlpha" operator="in" result="highlight"/>
>   <feComposite in="SourceGraphic" in2="highlight" operator="arithmetic"
>                k1="0" k2="1" k3="1" k4="0" result="highlightText"/>
>   <feMerge>
>     <feMergeNode in="offsetBlur"/>
>     <feMergeNode in="highlightText"/>
>   </feMerge>
> </filter>
> </defs>
> <text filter="url(#bevel)" x="30" y="100" font-size="60" font-family="Times">An SVG Filter</text>
> </svg>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org