Comment 50 for bug 1468027

Revision history for this message
Mingye Wang (artoria2e5) wrote :

gunnarhj:
> Want to say, though, that the config file you mentioned in the upstream bug report doesn't have anything to do with it. It's not in the Ubuntu archive yet.

Umm… The good news is they seen to point to the same problem, and on JeffBai's machine that's almost how the config was written (without language matching, etc.). Anyway that works as a good test case...

> + <string>Noto Sans CJK SC Regular</string>

Nice workaround. Do you mind testing other weights too?

$ LC_CTYPE=zh_CN.UTF-8 fc-match sans-serif:weight=bold -a | head -7

If bold works, you can assume others work too, I think. If you really want to make sure, you can try out all the possible weight values in https://www.freedesktop.org/software/fontconfig/fontconfig-user.html, shown under <const>.