Hi to all ! I am trying to draw this SVG with a java code written with Batik 1.6 but witout success : noting is drawn. ------------------------ original SVG ----------------------- <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat.dtd" [
]> <svg xmlns="http://www.w3.org/2000/svg"> <svg viewBox="-12.375 -12.375 1014.75 3497.92"><g fill="none" stroke="black" stroke-width="0.12375" transform="translate(0,3473.17) scale(1, -1)"> <g id="test" > <path stroke="rgb(239,0,239)" d="M 522,491.167 l 0,2572 "/> <ellipse stroke="rgb(239,0,239)" rx="250" ry="225.001" transform="translate(522.254,249.189) rotate(90.00)"/> <path stroke="rgb(239,0,239)" d="M 0,2589.17 l 8,196 974,524 8,164 "/> </g></g></svg></svg> ------------------------ end of original SVG ----------------------- But if i replace the two SVG tags by only one with width and height attributes instead of a viewbox one, the drawing if ok. ------------------------ modified SVG ----------------------- ... <svg xmlns="http://www.w3.org/2000/svg" width="1027" height="3510"> ... </svg> ------------------------ end of modified SVG ----------------------- Do you know if it comes from a Batik bug ? Or do i "normalize" in any way the SVG before rendering ? Thank you for your help because i have thousands of SVG to modify on the fly if Batik could not give me any good solution :-)) Best regards Sylvain Caillet [Non-text portions of this message have been removed] ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

