W3C home > Mailing lists > Public > www-svg@w3.org > March 2012

Re: text decorations and rotated glyphs

From: Stephen Chenney <schenney@chromium.org>
Date: Mon, 19 Mar 2012 11:31:52 -0400
Message-ID: <CAObCcUomY7JbCZdNwuD6jLH7T46NcDctULaTW6361eNc+EkypA@mail.gmail.com>
To: David Dailey <ddailey@zoominternet.net>
Cc: Cameron McCormack <cam@mcc.id.au>, SVG public list <www-svg@w3.org>
Is there any information at all about how real-world content creators use
this feature? That is, the people who would be inconvenienced one way or
the other?

I think it is much easier to create some geometry that matches the
underline for an entire word than it is to create geometry that follows
rotated and otherwise offset characters. Absent compelling evidence that
one way is "right", I argue for the thing that is easiest to work around.
So I think the underline moves with the glyph.


On Sat, Mar 17, 2012 at 2:39 PM, David Dailey <ddailey@zoominternet.net>wrote:

> I am thinking the other way -- underlining is generally applied to words
> rather than letters, and while the letters may jiggle and float a bit, the
> underscore should not follow the individual characters.
> See for example
> http://srufaculty.sru.edu/david.dailey/svg/TopAlignBrowsers.png
> As based on experiments at
> http://granite.sru.edu/~ddailey/svg/tspanmeasure.svg and
> http://granite.sru.edu/~ddailey/svg/tspanmeasure4.svg
> and as discussed in
> http://cs.sru.edu/~ddailey/svg/GeometricAccessibility.html
> Having an option that users could apply might be very nice.
> Cheers
> David
> -----Original Message-----
> From: Cameron McCormack [mailto:cam@mcc.id.au]
> Sent: Saturday, March 17, 2012 2:50 AM
> To: SVG public list
> Subject: text decorations and rotated glyphs
> <svg xmlns="http://www.w3.org/2000/svg">
>   <text x="100" y="100" rotate="45" text-decoration="underline">A</text>
> </svg>
> Should the underline rotate with the glyph or remain horizontal?
> Safari/Chrome do the former, Opera the latter.  (Didn't test IE since I
> did not want to suffer the pain of starting up my VM right now.)  I'm
> leaning towards preferring rotating the decorations.
Received on Monday, 19 March 2012 15:32:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:27 UTC