https://issues.apache.org/bugzilla/show_bug.cgi?id=45885
Summary: Incorrect rendering when using viewBox
Product: Batik
Version: 1.7
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: SVG Rasterizer
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
When using viewBox to zoom into an area of the canvas it looks like the viewBox
attribute is being ignored.
The following renders correctly in mozilla but not using batik.
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" overflow="hidden"
width="1000" height="1000"
xml:space="preserve">
<svg preserveAspectRatio="xMinYMin slice" viewBox="0 0 100 100"
height="1000" width="1000">
<svg height="1000" width="1000">
<g>
<g transform="scale(5)">
<g>
<circle cx="15" cy="15" r="10" fill="yellow"/>
<circle cx="12" cy="12" r="1.5" fill="black"/>
<circle cx="17" cy="12" r="1.5" fill="black"/>
<path d="M 10 19 A 8 8 0 0 0 20 19"
stroke="black" stroke-width="2"/>
</g>
</g>
</g>
</svg>
</svg>
</svg>
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]