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 bu...@apache.org on 2008/09/25 09:50:03 UTC

DO NOT REPLY [Bug 45885] New: Incorrect rendering when using viewBox

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: batik-dev@xmlgraphics.apache.org
        ReportedBy: sgunapu@yahoo.com


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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 45885] Incorrect rendering when using viewBox

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45885


Thomas Deweese <de...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Thomas Deweese <de...@apache.org>  2008-09-25 04:52:07 PST ---
I checked what Apache Batik's Squiggle viewer (SVN HEAD) 
against Mozilla FireFox 3.0.1 and they seem to match.
If you can be more clear about what you think does not
match feel free to reopen the bug.


-- 
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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org