Mageia Bugzilla – Attachment 11500 Details for
Bug 26165
The unconfigured fonts-otf-source-han font causes fontconfig to select Japanese rather than the Unicode base characters.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
A basic fontconfig configuration file for the Source Han Sans font.
65-source-han-sans.conf (text/plain), 2.12 KB, created by
Edward d'Auvergne
on 2020-02-07 11:43:00 CET
(
hide
)
Description:
A basic fontconfig configuration file for the Source Han Sans font.
Filename:
MIME Type:
Creator:
Edward d'Auvergne
Created:
2020-02-07 11:43:00 CET
Size:
2.12 KB
patch
obsolete
><?xml version="1.0"?> ><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> ><fontconfig> > <!-- Default to Unicode base characters rather than the font default of Japanese. --> > <match target="pattern"> > <test qual="any" name="family"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="prepend"> > <string>Source Han Sans TC</string> > <string>Source Han Sans SC</string> > </edit> > </match> > <!-- Switch back to the default of Japanese, removing traditional and simplified Chinese, if asked. --> > <match> > <test name="lang"> > <string>ja</string> > </test> > <test name="family"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="assign"> > <string>Source Han Sans</string> > </edit> > </match> > <!-- Configure each variant (Japanese not needed as it is the default of "Source Han Sans" in this font). --> > <match> > <test name="lang"> > <string>zh-cn</string> > </test> > <test name="family"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="prepend"> > <string>Source Han Sans SC</string> > </edit> > </match> > <match> > <test name="lang"> > <string>zh-tw</string> > </test> > <test name="family"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="prepend"> > <string>Source Han Sans TC</string> > </edit> > </match> > <match> > <test name="lang"> > <string>zh-hk</string> > </test> > <test name="family"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="prepend"> > <string>Source Han Sans HC</string> > </edit> > </match> > <match> > <test name="lang"> > <string>zh-sg</string> > </test> > <test name="family"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="prepend"> > <string>Source Han Sans SC</string> > </edit> > </match> > <match> > <test name="lang"> > <string>kr</string> > </test> > <test name="family"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="prepend"> > <string>Source Han Sans K</string> > </edit> > </match> ></fontconfig>
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- Default to Unicode base characters rather than the font default of Japanese. --> <match target="pattern"> <test qual="any" name="family"> <string>Source Han Sans</string> </test> <edit name="family" mode="prepend"> <string>Source Han Sans TC</string> <string>Source Han Sans SC</string> </edit> </match> <!-- Switch back to the default of Japanese, removing traditional and simplified Chinese, if asked. --> <match> <test name="lang"> <string>ja</string> </test> <test name="family"> <string>Source Han Sans</string> </test> <edit name="family" mode="assign"> <string>Source Han Sans</string> </edit> </match> <!-- Configure each variant (Japanese not needed as it is the default of "Source Han Sans" in this font). --> <match> <test name="lang"> <string>zh-cn</string> </test> <test name="family"> <string>Source Han Sans</string> </test> <edit name="family" mode="prepend"> <string>Source Han Sans SC</string> </edit> </match> <match> <test name="lang"> <string>zh-tw</string> </test> <test name="family"> <string>Source Han Sans</string> </test> <edit name="family" mode="prepend"> <string>Source Han Sans TC</string> </edit> </match> <match> <test name="lang"> <string>zh-hk</string> </test> <test name="family"> <string>Source Han Sans</string> </test> <edit name="family" mode="prepend"> <string>Source Han Sans HC</string> </edit> </match> <match> <test name="lang"> <string>zh-sg</string> </test> <test name="family"> <string>Source Han Sans</string> </test> <edit name="family" mode="prepend"> <string>Source Han Sans SC</string> </edit> </match> <match> <test name="lang"> <string>kr</string> </test> <test name="family"> <string>Source Han Sans</string> </test> <edit name="family" mode="prepend"> <string>Source Han Sans K</string> </edit> </match> </fontconfig>
View Attachment As Raw
Actions:
View
Attachments on
bug 26165
:
11495
|
11496
|
11497
|
11498
|
11500
|
11502
|
11503
|
11504