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

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 UTC