W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [css3-text] hanging-punctuation and hyphens

From: Liam R E Quin <liam@w3.org>
Date: Fri, 08 Mar 2013 16:49:11 -0500
To: Ambrose LI <ambrose.li@gmail.com>
Cc: www-style list <www-style@w3.org>
Message-ID: <1362779351.9148.243.camel@localhost.localdomain>
On Fri, 2013-03-08 at 02:18 -0500, Ambrose LI wrote:
> 2013/3/8 Lea Verou <lea@w3.org>:
> > Somebody suggested on twitter [1] that it might be useful for hyphens (added
> > by hyphenation) to hang as well, perhaps through hanging-punctuation [2].
> > Thoughts?
> 
> The hanging-punctuation property seems to be framed in such a way that
> feels like it’s mostly relevant to CJK (and particularly Japanese)
> typography. That might have been why the hyphen was not included in
> the list? (Personally speaking when I see hanging hyphens and dashes
> in a run of CJK text the result just looks wrong to me.)
> 
> In Western typography, the hyphen (and all sorts of dashes) certainly
> can hang, and they do hang in, for example, Illustrator and InDesign.

There should be a property to say which characters are to be hung, on
both the start and end in the inline direction. For example, the choice
partly depends on type size and on the function of the text.

It's also not uncommon to do partial hanging, where e.g. a double quote
is half-hung, centred on the margin line, although I don't think
InDesign can do that directly - you can (or could) do it with Quark.

> should there be some finer-grain control on
> when certain punctuation marks are allowed/disallowed to hang?

Yes. But whether it belongs in level 3 text is another matter, I don't
have feelings on that one.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Received on Friday, 8 March 2013 21:49:17 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT