Yes, thanks Erik, that seems to do it (except for IE9 where the line-breaks still persist).
I cleaned up the code a bit (using <use>) and updated the example at http://cs.sru.edu/~ddailey/svg/V12.svg The example that is second from the left in the bottom row conveys something I’ve been thinking about for some time: would there be a canonical set of pattern primitives which when combined could give a tactile substitution for color for those who can’t see the colors? It is related to what I call “geometric accessibility.” In a textual language like HTML, the semantics is text, while in a visual language like SVG, the semantics is graphical (something to think about when we decide which attributes should be style-able and use-able). Might the use of Braille characters for the glyphs in the figure at bottom left provide better semantic labeling of the regions of overlap? Well it seems like the dot frequencies of the Braille together with the pattern harmonics would set up interference that would just be “noisy” in the tactile realm, hence the idea that something like the superimposition of patterns (in the one to its right) might remedy. So, in some basic psychophysical sense (a la Weber, Helmhotz, Fechner and S. S. Stevens) are there a set of maximally distinguishable simple glyphs, which could be used in patterns to show intersections of overlapping regions in a way which maximizes similarity between regions and subregions, while maximizing differences between the 2^n subregions of a given Venn diagram. Such would, I suppose, be old hat to those familiar with Ian McHarg’s work (http://en.wikipedia.org/wiki/Ian_McHarg#Design_with_Nature ) but to an non-cartographer like me, the questions are, at once, fundamental and intriguing. And I rather doubt that the problem has been “solved” in the sense of solving the relevant psychophysical differential equations. Cheers David From: svg-developers@yahoogroups.com [mailto:svg-developers@yahoogroups.com] On Behalf Of Erik Dahlstrom Sent: Thursday, April 05, 2012 5:12 AM To: svg-developers@yahoogroups.com Subject: Re: [svg-developers] diagonal lines in pattern elements On Thu, 05 Apr 2012 03:16:27 +0200, David Dailey <ddai...@zoominternet.net <mailto:ddailey%40zoominternet.net> > wrote: > http://cs.sru.edu/~ddailey/svg/V12.svg > > > In the bottom right illustration on this page, note how the diagonal > lines > (created through varying both size and viewBox attributes on a pattern > tag) > have small discontinuities. (in all modern browsers) > > > Does anyone see an obvious way around that? Your can modify your pattern tiles, e.g like this: <pattern id="NL1" patternUnits="userSpaceOnUse" width="20" height="30" viewBox="0 0 25 25" preserveAspectRatio="none"> <line x1="-5" y1="-5" x2="30" y2="30" stroke="black" stroke-width="2" /> <line x1="-5" y1="-5" x2="30" y2="30" stroke="black" stroke-width="2" transform="translate(25,0)"/> <line x1="-5" y1="-5" x2="30" y2="30" stroke="black" stroke-width="2" transform="translate(-25,0)"/> </pattern> The added lines+transforms just make sure that the overflow (from the neighboring tiles) that should go on each side ends up where it's supposed to. -- Erik Dahlstrom, Core Technology Developer, Opera Software Co-Chair, W3C SVG Working Group Personal blog: http://my.opera.com/macdev_ed [Non-text portions of this message have been removed] ------------------------------------ ----- To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/