xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Wan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BATIK-1133) Batik-Rasterizer-1.8 (complied with FOP2.0) PDF conversion cannot convert filter correctly
Date Tue, 08 Sep 2015 14:47:45 GMT

     [ 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


Mime
View raw message