Re: Discussion: Porting noto font family to our openSUSE

Hans Schmidt <[email protected]> Fri, 5 Aug 2016 20:24:46 +0200
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
Am 05.08.2016 um 16:52 schrieb Takashi Iwai:
> On Fri, 05 Aug 2016 16:33:11 +0200,
> Marguerite Su wrote:
>> On Thu, Aug 4, 2016 at 2:43 PM, Takashi Iwai <[email protected]> wrote:
>>> Well, it's a problem of Unicode in general.  The issue may happen no
>>> matter whether ttc or not.  Japanese is chosen just because of the
>>> alphabet order in this case.
>> Yes...it's not ttc or ttf, but "one" ttc or "many" ttcs.
>>
>> If we use separated ttcs, you can install Chinese variant and see Chinese right
>> if you see Chinese not displayed under any locale.
>>
>> But if we use one ttc, you will not see Chinese right even if you have
>> installed Chinese variant
>> in English (which is not covered by the tweak and should not be covered)
> And if you install both Chinese and Japanese fonts?  The problem
> returns again.  See, it's no solution at all.

This is actually a really big problem. Most commonly seen cases are

a) CJK system with English
b) English system with ONE CJK script

but try to use English system with two CJK scripts simultaneously or
maybe another western, not english system with two CJK languages... I
don't even want to imagine non-latin scripts with CJK languages.

>
> IMO, the problem is that the implicitly preferred locale hasn't been
> told to the system.  If you run a system in English locale but still
> prefer the Chinese letters over other CJK, how can the system know of
> it?   We need to inform it somehow.  The package selection works
> partially, but it gets broken again if multiple language fonts are
> installed.
>
> Maybe we can another item, e.g. $CJK_PREFERRED_LOCALE in
> /etc/sysconfig/fonts-config?  If this is set, it can be referred by a
> fontconfig snippet in addition to the current locale check.
>
> Adding Petr to Cc about this idea.
>

I would actually like something like that. I tried to change the CJK
font priority on a German linux system, but after some time gave up. It
was really not easy... especially if you are no fontconfig expert.

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]