RE: Determining the Viewport for an SVG Element

I’d hope we can address patterns in the effort to get non-scaling (and maybe better more broadly defined as non-transforming) line widths, patterns and line styles/dash-patterns.

Thomas
--
Thomas Smailus, Ph.D.  P.E.
Boeing Information Technology
thomas.o.smailus@boeing.com

From: Paul LeBeau [mailto:paul.lebeau@gmail.com]
Sent: Monday, May 19, 2014 2:26
To: Erik Dahlström
Cc: www-svg; Gavin Kistner
Subject: Re: Determining the Viewport for an SVG Element

Would this apply to things like <pattern> also?  I have seen a few people ask on Stack Overflow about how to prevent patterns being affected by the viewport transform because they were trying to use SVGs in their responsive web designs.

Paul


On 19 May 2014 20:29, Erik Dahlström <ed@opera.com<mailto:ed@opera.com>> wrote:
On Sat, 17 May 2014 00:28:12 +0200, Gavin Kistner <phrogz@me.com<mailto:phrogz@me.com>> wrote:

...

(Independent of all this, I’m also interested: have there been any discussions of scale/zoom independent font sizes, similar in desire to vector-effect:non-scaling-stroke?)


[1] http://stackoverflow.com/questions/23645150/maintain-same-font-size-text-regardless-of-viewbox-zooming

[2] http://stackoverflow.com/questions/23664967/determining-the-svg-viewport-in-global-root-coordinates

[3] https://bugzilla.mozilla.org/show_bug.cgi?id=530985


Cancelling (or partially cancelling) the effect of a transform on a given element was discussed at the last F2F meeting, see the proposal [4]. It's been accepted for SVG2 [5], the action for adding it to the spec hasn't been completed yet.

[4] http://www.w3.org/Graphics/SVG/WG/wiki/Proposals/vector_effects_extension

[5] http://www.w3.org/2014/04/09-svg-minutes.html#item06


--
Erik Dahlstrom, Web Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group

Received on Monday, 19 May 2014 17:25:09 UTC