fontbakery icon indicating copy to clipboard operation
fontbakery copied to clipboard

[com.google.fonts/check/meta/script_lang_tags] Change to rationale

Open simoncozens opened this issue 1 year ago • 3 comments

According to @verdy-p in https://github.com/notofonts/toto/issues/4#issuecomment-1883660619:

Note that Windows 11 now DOES uses and supports 'dlng' and 'slng' metata in its Settings>Fonts panel. Though there's a bug when it parses them: see https://github.com/MicrosoftDocs/typography-issues/issues/1112

This is worth adding to the rationale, as it's potentially more important that fonts have a correct meta table if MS is going to start using them in the fonts panel.

(However, please also note that last we heard, there was also a bug in OS X's handling of fonts with a meta table which may make it better not to include the table until this is fixed...)

simoncozens avatar Jan 09 '24 20:01 simoncozens

Doesn't Google font provide different built packages for various platforms? Could there be a building profile added for some OSX versions, tracking its limitations (such as the bug on fonts with a metatable that they still don't handle correctly), or for Windows 10+ that will use the metatable as part of their UI, and probably soon as well in other Microsoft tools (including MS Edge for its font selection and fallback mechanism, that should require updates probably in Google Chromium and Google Chrome as well)?

Note also that now the Microsoft Typography documents each of its fonts with their "dlng/slng" metadata explicitly listed. So visibly this is already a good indicator that Microsoft chose that way, and legacy OS/2 tables and OpenType specific language/script codes will be progressively phased out (even if Microsoft is still adding some limited patches to them in the OpenType specifications for very few languages, much less than those discussed with "dlng/slng" metadata which have now a more extensive coverage).

This could announce a new way to make language/script-specific feature tables, using these BCP47 based dlng/slng codes rather than just the legacy OpenType language/script codes (and possibly an extension to Opentype specifications for the format of feature tables.

verdy-p avatar Feb 24 '24 02:02 verdy-p

Doesn't Google font provide different built packages for various platforms?

... No, I don't think so. And I think we want to produce "good" fonts and put pressure on operating system vendors to get their bugs fixed.

simoncozens avatar Feb 24 '24 17:02 simoncozens

So you think about putting pressure on Apple, given that Google and Microsoft will work with these tables, and both will want to support users of Apple OS for their apps (e.g. office applications by Google and Microsoft) and their "tuned" web browsers (based on the Safari core, engine rather than Chromium core).

I had the feeling that there were separate "packages" for Google fonts (e.g. for different formats, with different OT outlines, or with/without hinting, or with different coloring options for Emoji-like fonts, or with smaller coverage for limited platforms).

Was the bug reported to Apple, is it being worked on?

verdy-p avatar Feb 24 '24 22:02 verdy-p

Actually I've just noticed that the rationale already says

Windows 10 already uses it when deciding on which fonts to fall back to.

simoncozens avatar Jun 11 '24 08:06 simoncozens