Mageia Bugzilla – Attachment 11503 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 new fontconfig configuration file for the Source Han Sans font.
65-source-han-sans.conf (text/plain), 2.40 KB, created by
Edward d'Auvergne
on 2020-02-10 15:30:05 CET
(
hide
)
Description:
A new fontconfig configuration file for the Source Han Sans font.
Filename:
MIME Type:
Creator:
Edward d'Auvergne
Created:
2020-02-10 15:30:05 CET
Size:
2.40 KB
patch
obsolete
><?xml version="1.0"?> ><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> ><fontconfig> > <description>Configure the Source Han Sans 2.000 CJK font.</description> > > <!-- Default to the Unicode base glyphs rather than the font default of Japanese. --> > <match> > <test name="family"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="assign"> > <string>Source Han Sans SC</string> > </edit> > <edit name="family" mode="prepend"> > <string>Source Han Sans TC</string> > </edit> > </match> > <!-- Switch back to the font default of Japanese if needed. --> > <match> > <test name="lang"> > <string>ja</string> > </test> > <test name="family" compare="contains"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="assign_replace"> > <string>Source Han Sans</string> > </edit> > </match> > <!-- Configure the Traditional Chinese font. --> > <match> > <test name="lang"> > <string>zh-tw</string> > </test> > <test name="family" compare="contains"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="assign_replace"> > <string>Source Han Sans TC</string> > </edit> > </match> > <!-- Configure the Simplified Chinese font. --> > <match> > <test name="lang"> > <string>zh-cn</string> > </test> > <test name="family" compare="contains"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="assign_replace"> > <string>Source Han Sans SC</string> > </edit> > </match> > <match> > <test name="lang"> > <string>zh-sg</string> > </test> > <test name="family" compare="contains"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="assign_replace"> > <string>Source Han Sans SC</string> > </edit> > </match> > <!-- Configure the Hong Kong font. --> > <match> > <test name="lang"> > <string>zh-hk</string> > </test> > <test name="family" compare="contains"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="assign_replace"> > <string>Source Han Sans HC</string> > </edit> > </match> > <!-- Configure the Korean font. --> > <match> > <test name="lang"> > <string>ko</string> > </test> > <test name="family" compare="contains"> > <string>Source Han Sans</string> > </test> > <edit name="family" mode="assign_replace"> > <string>Source Han Sans K</string> > </edit> > </match> ></fontconfig>
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <description>Configure the Source Han Sans 2.000 CJK font.</description> <!-- Default to the Unicode base glyphs rather than the font default of Japanese. --> <match> <test name="family"> <string>Source Han Sans</string> </test> <edit name="family" mode="assign"> <string>Source Han Sans SC</string> </edit> <edit name="family" mode="prepend"> <string>Source Han Sans TC</string> </edit> </match> <!-- Switch back to the font default of Japanese if needed. --> <match> <test name="lang"> <string>ja</string> </test> <test name="family" compare="contains"> <string>Source Han Sans</string> </test> <edit name="family" mode="assign_replace"> <string>Source Han Sans</string> </edit> </match> <!-- Configure the Traditional Chinese font. --> <match> <test name="lang"> <string>zh-tw</string> </test> <test name="family" compare="contains"> <string>Source Han Sans</string> </test> <edit name="family" mode="assign_replace"> <string>Source Han Sans TC</string> </edit> </match> <!-- Configure the Simplified Chinese font. --> <match> <test name="lang"> <string>zh-cn</string> </test> <test name="family" compare="contains"> <string>Source Han Sans</string> </test> <edit name="family" mode="assign_replace"> <string>Source Han Sans SC</string> </edit> </match> <match> <test name="lang"> <string>zh-sg</string> </test> <test name="family" compare="contains"> <string>Source Han Sans</string> </test> <edit name="family" mode="assign_replace"> <string>Source Han Sans SC</string> </edit> </match> <!-- Configure the Hong Kong font. --> <match> <test name="lang"> <string>zh-hk</string> </test> <test name="family" compare="contains"> <string>Source Han Sans</string> </test> <edit name="family" mode="assign_replace"> <string>Source Han Sans HC</string> </edit> </match> <!-- Configure the Korean font. --> <match> <test name="lang"> <string>ko</string> </test> <test name="family" compare="contains"> <string>Source Han Sans</string> </test> <edit name="family" mode="assign_replace"> <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