You are not logged in.
i followed the font config part of arch wiki
Fonts and Fonts config
i made the ln -s
$ ln -s /usr/share/fontconfig/conf.avail/51-local.conf $XDG_CONFIG_HOME/fontconfig/conf.d
$ ln -s /usr/share/fontconfig/conf.avail/50-user.conf $XDG_CONFIG_HOME/fontconfig/conf.dand make the `~/.config/fontconfig/fonts.conf` and `conf.d/`
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>JetBrains Mono Nerd Font</family>
<!-- <family>Noto Sans</family> -->
<family>Source Han Sans CN</family>
<family>Noto Emoji</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>JetBrains Mono Nerd Font</family>
<!-- <family>Noto Serif</family> -->
<family>Source Han Serif CN</family>
<family>Noto Emoji</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>JetBrains Mono Nerd Font</family>
<!-- <family>JetBrains Mono Nerd Font</family> -->
<family>Source Han Serif CN</family>
<family>Noto Emoji</family>
</prefer>
</alias>
</fontconfig>i want use source han fonts to display chinese while jetbrains mono for eng, but the chinese character cannot be rendered properly. i mean some of the character are rendered correctly but in jetbrains font........ while the others are just blank. QwQ
For example, the "你好" in my kitty will be like " 好"
i guess the reason is that jetbrains font is not a complete font for eng?
idk how to fix this QwQ
Offline
Please report your thread to be moved into the newbie corner or maybe applications, https://bbs.archlinux.org/misc.php?report=2118321
You should not have to add user-local shadows for those two configs:
ls /usr/share/fontconfig/conf.default/5{0,1}*Is the problem limited to kitty?
fc-list :charset=4f60
fc-match -s :charset=4f60
FC_DEBUG=4 pango-view --font="monospace" -t "你" | grep family:Offline
Moved to Newbie Corner.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline