3 ms·
> Among other things, I claim it does one of the best jobs on the "CJK problem" of any stack out there, using both font selection and the locl OpenType feature
by hsivonen 7y ago
> Among other things, I claim it does one of the best jobs on the "CJK problem" of any stack out there, using both font selection and the locl OpenType feature to adapt rendering for the preferred language(s).
What does Android infer the preference from? I’m using U.S. English as the UI language with input method set to combined Finnish and English (with Simplified Chinese, Traditional Chinese, Korean and Vietnamese also in my input method list) and using a Finnish SIM, and Android 9 seems to pick Simplified Chinese glyphs for me. (I’m not suggesting these signals should have another result. I’m just curious what signals are considered meaningful.)
- raphlinus 7y agoThe main signal is the locale setting, which can have a list of languages in it. For example, you could have Finnish as your primary language, with Hong Kong Chinese second. Then CJK will get rendered as zh-Hant-HK. Apps can set locale explicitly to override that, but almost none do. Probably the motivating example is a translation app, which can then render both, say, Chinese and Japanese correctly. Input methods are technically a separate setting from your locale list, which is maybe confusing but that's the way it is.