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

Re: [css3-text] fullwidth punctuation kerning

From: John Daggett <jdaggett@mozilla.com>
Date: Tue, 28 Sep 2010 01:15:50 -0700 (PDT)
To: Ambrose LI <ambrose.li@gmail.com>
Cc: www-style <www-style@w3.org>, www-font <www-font@w3.org>
Message-ID: <1048891003.57490.1285661750702.JavaMail.root@cm-mail03.mozilla.org>
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 08:16:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:48 UTC