[bugfix] korean characters stack together

This commit is contained in:
Klesh Wong 2020-10-11 17:34:48 +08:00
parent 4341546a9b
commit 8f2d2fa2b1
2 changed files with 25 additions and 12 deletions

View File

@ -10,6 +10,7 @@ case "$PM" in
sudo apt install \
fonts-urw-base35 \
fonts-cascadia-code \
fonts-droid-fallback \
fonts-wqy-microhei \
fonts-symbola \
fonts-dejavu-core \
@ -31,6 +32,7 @@ case "$PM" in
freetype2 \
gsfonts \
ttf-cascadia-code \
ttf-droid \
wqy-microhei \
ttf-dejavu \
gucharmap

View File

@ -1,16 +1,27 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<test qual="any" name="family"><string>serif</string></test>
<edit name="family" mode="assign" binding="same"><string>DejaVu Serif</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>sans-serif</string></test>
<edit name="family" mode="assign" binding="same"><string>URW Gothic</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>monospace</string></test>
<edit name="family" mode="assign" binding="same"><string>Cascadia Code</string></edit>
</match>
<alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif</family>
<family>Symbola</family>
<family>Droid Sans</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>URW Gothic</family>
<family>Symbola</family>
<family>Droid Sans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Cascadia Code</family>
<family>Symbola</family>
</prefer>
</alias>
</fontconfig>