W3C home > Mailing lists > Public > www-style@w3.org > September 2010

RE: [css3-text] fullwidth punctuation kerning

From: Ishii Koji <kojiishi@gluesoft.co.jp>
Date: Tue, 28 Sep 2010 05:57:10 -0400
To: John Daggett <jdaggett@mozilla.com>, Ambrose LI <ambrose.li@gmail.com>
CC: www-style <www-style@w3.org>, www-font <www-font@w3.org>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0A385D66D8@MAILR001.mail.lan>
Hi John,

I'm sorry for my ignorance but could you please explain what the "well designed (OpenType-wise)" font is?

If you're talking about fonts with variable width for punctuation characters, well, it's true that we'd need to define behavior for such fonts. It'll probably do not trim, but in some cases we need to add spaces instead.

Or does such font include variable spacing depending on the combinations of two characters?


Regards,
Koji Ishii

-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of John Daggett
Sent: Tuesday, September 28, 2010 5:16 PM
To: Ambrose LI
Cc: www-style; www-font
Subject: Re: [css3-text] fullwidth punctuation kerning

Ambrose Li wrote:

> > Section 7.3 of the CSS3 Text spec details a property that 
> > effectively controls kerning on a small subset of CJK punctuation characters:
> >
> >  http://dev.w3.org/csswg/css3-text/#punctuation-trim

> >
> > I don't quite see the necessity of of an author level property to 
> > control this unless it's something that is really controlled at an 
> > author level stylistically.  In fact, supporting this in a browser 
> > that uses an OpenType layout engine would effectively require
> > *undoing* layout based kerning information contained in fonts, 
> > especially since the default is 'none'.
> >
> > I think it would be better omit this property and let the text 
> > layout engine handle this in conjuction with well-designed fonts.
> 
> I think I agree with you in principle, but as far as I know only 
> Japanese fonts are "well designed" (OpenType-wise). Chinese fonts, as 
> far as I know (but I may be wrong) do not generally contain any such 
> information. So whoever proposed the property probably had Chinese 
> fonts in mind.

Right, I seem to recall this feature being discussed in conjunction with MS Gothic which has the same issues.  I guess I don't feel we should be adding new CSS properties to band-aid old fonts, that's bass ackwards.

John Daggett

Received on Tuesday, 28 September 2010 09:55:48 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT