W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: [css3-fonts] default font features

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 17 Jul 2012 00:43:39 -0400
Message-ID: <CAOp6jLbTJVhAQbAze0bXGTA1H0nX2OFGUj2AA6htgZ6UHqDkhg@mail.gmail.com>
To: Sergey Malkin <sergeym@microsoft.com>
Cc: Behdad Esfahbod <behdad@google.com>, John Daggett <jdaggett@mozilla.com>, "Adam Twardoch (List)" <list.adam@twardoch.com>, www-style list <www-style@w3.org>, "www-font@w3.org" <www-font@w3.org>
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:07 GMT

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