W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: [css3-fonts] font-language-override: substantive comments

From: Andrew Cunningham <lang.support@gmail.com>
Date: Wed, 29 May 2013 14:46:59 +1000
Message-ID: <CAGJ7U-XySZ1rxAsZswE9SjRj1RnVSNeZOdcF7-WM6rBZKqQW+Q@mail.gmail.com>
To: John Daggett <jdaggett@mozilla.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org
A practical example would be the fonts Myanmar Text, a system font on
Windows 8 which has a language system "KAR" for the Karen languages ant
Padauk and Padaik Book which has a language system for S'gaw Karen 'ksw'.

If a web developer uses the Padauk font and if browsers fall back to
Myanmar Text, there needs to be a way of expressing that. Default
rendering, ie Burmese/Mon rendering isn't suitable.

Also works in reverse if developer specifies myanmar text font, and my
amdroid devices fall back to Padauk.

Andree
On 29/05/2013 2:15 PM, "John Daggett" <jdaggett@mozilla.com> wrote:

>
>
> fantasai wrote:
>
> > # However, a given font may lack support for a specific
> > # language. In this situation authors may need to use the
> > # typographic conventions of a related language that are
> > # supported by that font:
> > #
> > # <body lang="mk">     <!-- Macedonian lang code -->
> > # body { font-language-override: "SRB";
> > #        /* Serbian OpenType language tag */ }
> >
> > If this is actually a use case we want to support, I'd like to
> > see this property take a comma-separated list of values, so that
> > if the font actually used does support the correct language, it
> > can be activated. (Suppose for example we get a fallback font,
> > or the font gets updated to handle Serbian.)
>
> While this might make sense, I don't think it's a necessary addition.
> I think we should wait to see how much this feature is used in
> practice and let that be a guide as to how to make improvements.
> Defining what "fallback" means is tricky and I think an unnecessary
> complication at this level.
>
> This is really intended for situations where a downloadable font
> is used, where an author can explicitly select a language system
> that he knows exists within the font data.
>
> Cheers,
>
> John Daggett
>
>
>
Received on Wednesday, 29 May 2013 04:47:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 29 May 2013 04:47:30 UTC