Update the priority of fontconfig config for Noto Sans, Noto Serif and Noto Sans Mono to make them default.
This commit is contained in:
parent
46887d0ff9
commit
3a60f243d0
25
google-noto-sans-math-vf.conf
Normal file
25
google-noto-sans-math-vf.conf
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<match>
|
||||||
|
<test name="family">
|
||||||
|
<string>math</string>
|
||||||
|
</test>
|
||||||
|
<test name="family">
|
||||||
|
<string>sans-serif</string>
|
||||||
|
</test>
|
||||||
|
<edit name="family" mode="prepend" binding="same">
|
||||||
|
<string>Noto Sans Math</string>
|
||||||
|
</edit>
|
||||||
|
<edit name="fonthashint" mode="append">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<alias>
|
||||||
|
<family>Noto Sans Math</family>
|
||||||
|
<default>
|
||||||
|
<family>math</family>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
25
google-noto-sans-math.conf
Normal file
25
google-noto-sans-math.conf
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<match>
|
||||||
|
<test name="family">
|
||||||
|
<string>math</string>
|
||||||
|
</test>
|
||||||
|
<test name="family">
|
||||||
|
<string>sans-serif</string>
|
||||||
|
</test>
|
||||||
|
<edit name="family" mode="prepend" binding="same">
|
||||||
|
<string>Noto Sans Math</string>
|
||||||
|
</edit>
|
||||||
|
<edit name="fonthashint" mode="append">
|
||||||
|
<bool>false</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<alias>
|
||||||
|
<family>Noto Sans Math</family>
|
||||||
|
<default>
|
||||||
|
<family>math</family>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
Loading…
Reference in New Issue
Block a user