[whatwg] Timed tracks: feedback compendium

On 03/01/2011 15:57, Philip J?genstedt wrote:
>>> There was also some discussion about metadata. Language is sometimes
>>> necessary for the font engine to pick the right glyph.
>>
>> Could you elaborate on this? My assumption was that we'd just use CSS,
>> which doesn't rely on language for this.
>
> It's not in any spec that I'm aware of, but some browsers (including
> Opera) pick different glyphs depending on the language of the text,
> which really helps when rendering CJK when you have several CJK fonts on
> the system. Browsers will already know the language from <track
> srclang>, so this would be for external players.

Firefox too. If you visit 
http://people.mozilla.org/~jdaggett/webfonts/serbianglyphs.html in 
Firefox 4, the text explicitly marked-up as being Serbian Cyrillic 
(using the lang="sr-Cyrl" attribute) uses some different glyphs to the 
text with no language metadata.

Alex

-- 
Alex Bishop
alexbishop at gmail.com

Received on Tuesday, 4 January 2011 11:13:10 UTC