Last active
October 24, 2021 09:09
-
-
Save vtno/7331396df19dd06d2df3a9edfeb17817 to your computer and use it in GitHub Desktop.
A configuration to set font for Thai language in PopOS/Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<match target="pattern"> | |
<test name="lang" compare="contains"> | |
<string>th</string> | |
</test> | |
<test qual="any" name="family"> | |
<string>sans-serif</string> | |
</test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Noto Sans Thai UI</string> | |
</edit> | |
</match> | |
<match target="pattern"> | |
<test name="lang" compare="contains"> | |
<string>th</string> | |
</test> | |
<test qual="any" name="family"> | |
<string>serif</string> | |
</test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Noto Serif Thai</string> | |
</edit> | |
</match> | |
</fontconfig> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment