Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0"?> [19/116]
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Andada</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<test name="lang">
<string>ja</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>PT Sans Caption</string>
<string>TakaoPGothic</string>
<string>VL PGothic</string>
<string>Noto Sans CJK JP DemiLight</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>PT Sans Caption</string>
<string>Noto Sans CJK TC DemiLight</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<test name="lang">
<string>zh-cn</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>PT Sans Caption</string>
<string>Noto Sans CJK SC DemiLight</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<test name="lang">
<string>zh-tw</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>PT Sans Caption</string>
<string>Noto Sans CJK TC DemiLight</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Hack</string>
<string>Noto Sans CJK TC Mono Regular</string>
</edit>
</match>
<!-- Adobe Flash issue -->
<match target="pattern">
<test qual="any" name="family">
<string>AR PL UKai CN</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Droid Sans Fallback</string>
</edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.