Re: [css3-fonts] default font features

On Mon, Jul 16, 2012 at 10:10 PM, Sergey Malkin <sergeym@microsoft.com>wrote:

>   Pulling shaping data like kerning from the font is not expensive.
> Expensive is finding right line break, and this can’t be achieved easily at
> the same speed as simple text layout pass. I just made quick measurements
> and Firefox is about 3 times slower than IE’s simple mode.
>

I believe you ... but what exactly did you measure?

As I understand, Firefox will turn on kerning depending on font size.
>

That was an old "simple mode" that we have since removed (after doing some
performance measurements of the impact). We do kerning at all font sizes
now.

How CSS would classify this behavior, can this be acceptable under ‘normal’
> value? Similar question about ligatures. I think InDesign automatically
> disabled ligatures if tracking was greater than 0.25em. Would this
> acceptable under ‘normal’?
>

If CSS 'letter-spacing' is greater than zero, we disable discretionary
ligatures, because it seems safe to assume that matches the author's
intent. That behavior could (and I think should) be written into the spec.

Rob
-- 
“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]

Received on Tuesday, 17 July 2012 04:44:11 UTC