Package: fonts-noto-cjk Severity: normal X-Debbugs-CC: chinese-develop...@lists.alioth.debian.org czc...@debian.org Tags: patch l10n
Dear Fonts Team, Chinese developers and czchen, As previously discussed on the Chinese list, we want to make Noto CJK fonts the "default" one on all Chinese environments, or at least on those Chinese locales that are supported by Noto CJK fonts [1].As a result, I'm proposing to tweak its fontconfig config files to achieve that. This would also workaround some weird results on fontconfig's font selecting, e.g., on installing fonts-arphic-gkai00mp (which is rather legacy these days), fontconfig on zh_CN systems would receive a (weirdly) high priority for all sans, sans-serif, serif and monospace fonts. diff --git a/70-fonts-noto-cjk.conf b/70-fonts-noto-cjk.conf index c1052bb..a97c7e7 100644 --- a/70-fonts-noto-cjk.conf +++ b/70-fonts-noto-cjk.conf @@ -32,7 +32,7 @@ <test name="family"> <string>serif</string> </test> - <edit name="family" mode="prepend"> + <edit name="family" mode="prepend_first"> <string>Noto Serif CJK SC</string> </edit> </match> @@ -44,7 +44,7 @@ <test name="family"> <string>serif</string> </test> - <edit name="family" mode="prepend"> + <edit name="family" mode="prepend_first"> <string>Noto Serif CJK TC</string> </edit> </match> @@ -80,7 +80,7 @@ <test name="family"> <string>sans-serif</string> </test> - <edit name="family" mode="prepend"> + <edit name="family" mode="prepend_first"> <string>Noto Sans CJK SC</string> </edit> </match> @@ -92,7 +92,7 @@ <test name="family"> <string>sans-serif</string> </test> - <edit name="family" mode="prepend"> + <edit name="family" mode="prepend_first"> <string>Noto Sans CJK TC</string> </edit> </match> @@ -128,7 +128,7 @@ <test name="family"> <string>monospace</string> </test> - <edit name="family" mode="prepend"> + <edit name="family" mode="prepend_first"> <string>Noto Sans Mono CJK SC</string> </edit> </match> @@ -140,7 +140,7 @@ <test name="family"> <string>monospace</string> </test> - <edit name="family" mode="prepend"> + <edit name="family" mode="prepend_first"> <string>Noto Sans Mono CJK TC</string> </edit> </match> [1] https://lists.debian.org/debian-chinese-gb/2017/05/msg00000.html -- Regards, Boyuan Yang
signature.asc
Description: This is a digitally signed message part.