[bugfix] unable to display korean/japanese
This commit is contained in:
parent
832d98f693
commit
03d61699f9
|
@ -9,8 +9,7 @@ case "$PM" in
|
|||
# fonts
|
||||
sudo apt install \
|
||||
fonts-cascadia-code \
|
||||
fonts-urw-base35 \
|
||||
fonts-droid-fallback \
|
||||
fonts-noto-cjk \
|
||||
fonts-symbola \
|
||||
gucharmap
|
||||
# network manager
|
||||
|
@ -25,13 +24,11 @@ case "$PM" in
|
|||
fi
|
||||
;;
|
||||
pacman)
|
||||
# fonts, wqy-microhei is required for qt5.15 to display CJK character
|
||||
# fonts
|
||||
sudo pacman -S --needed \
|
||||
freetype2 \
|
||||
terminus-font \
|
||||
ttf-cascadia-code \
|
||||
ttf-droid \
|
||||
wqy-microhei \
|
||||
noto-fonts-cjk \
|
||||
gucharmap
|
||||
# install symbola for plain emojis(no-color) for st
|
||||
yay -S ttf-symbola-free
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<fontconfig>
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family"><string>serif</string></test>
|
||||
<edit name="family" mode="assign" binding="same"><string>Droid Serif</string></edit>
|
||||
<edit name="family" mode="assign" binding="same"><string>Noto Serif CJK SC</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>
|
||||
<edit name="family" mode="assign" binding="same"><string>Noto Sans CJK SC</string></edit>
|
||||
</match>
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family"><string>monospace</string></test>
|
||||
|
|
Loading…
Reference in New Issue
Block a user