Billy Wan created BATIK-1133: -------------------------------- Summary: 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
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-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: batik-dev-h...@xmlgraphics.apache.org