diff options
Diffstat (limited to 'community/font-noto/58-noto-math.conf')
-rw-r--r-- | community/font-noto/58-noto-math.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/font-noto/58-noto-math.conf b/community/font-noto/58-noto-math.conf new file mode 100644 index 00000000000..440a3ce6bcf --- /dev/null +++ b/community/font-noto/58-noto-math.conf @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <!-- + | This should be after 50-user.conf and 51-local.conf to not override user + | and local system overrides, and before 60-generic.conf to take precedence + | over the font-config's default preferables. + |--> + <description>Set Noto Sans Math as a preferable font for math</description> + + <alias> + <family>math</family> + <prefer> + <family>Noto Sans Math</family> + </prefer> + </alias> + + <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> + </match> +</fontconfig> |