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

Re: [css3-fonts] Behdad's Feedback on CSS Fonts Module Level 3 Editor's Draft 5 April 2010

From: Behdad Esfahbod <behdad@behdad.org>
Date: Thu, 19 Aug 2010 14:08:16 -0400
Message-ID: <4C6D7310.5050200@behdad.org>
To: Jonathan Kew <jonathan@jfkew.plus.com>
CC: John Daggett <jdaggett@mozilla.com>, Thomas Phinney <tphinney@cal.berkeley.edu>, "Tab Atkins Jr." <jackalmage@gmail.com>, www-style@w3.org, Brad Kemper <brad.kemper@gmail.com>
On 08/17/10 05:12, Jonathan Kew wrote:
> In that case, I suggest we should have a new property called "font-extend" that would take a scaling factor to be applied to the glyphs and metrics in the x-direction (or rather, along the direction of text layout, so for vertical text it would apply in the y-direction). A font-extend value of less than 1.0 would actually compress the glyphs, of course. And negative values ought to reflect the glyphs and reverse the text direction, so that <span style="font-extend: -1.0">mirror writing</span> becomes easy to express.

Watch out!  Mirroring text that way has bidi implications.  Mirror an RTL span
and it should be processed as LTR during bidi now.  I never sat down and see
exactly how this can be fixed.  Shouldn't be hard to document what to do in
that case, but I'm not sure it's worth the hassle.

behdad
Received on Thursday, 19 August 2010 18:54:53 GMT

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