#Goldendict-ng UI not rendering properly
21 messages · Page 1 of 1 (latest)
Maybe a cjk font
like noto-fonts-cjk
sudo pacman -S noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra will install pretty much every font you ned to not get mojibake
already have all those
Font directories:
/root/.local/share/fonts
/usr/local/share/fonts
/usr/share/fonts
/root/.fonts
/usr/share/fonts/TTF
/usr/share/fonts/adobe-source-code-pro
/usr/share/fonts/cantarell
/usr/share/fonts/encodings
/usr/share/fonts/gnu-free
/usr/share/fonts/gsfonts
/usr/share/fonts/liberation
/usr/share/fonts/noto
/usr/share/fonts/noto-cjk
/usr/share/fonts/encodings/large
/root/.local/share/fonts: skipping, no such directory
/usr/local/share/fonts: skipping, no such directory
/usr/share/fonts: caching, new cache contents: 12 fonts, 9 dirs
/usr/share/fonts/TTF: caching, new cache contents: 373 fonts, 0 dirs
/usr/share/fonts/adobe-source-code-pro: caching, new cache contents: 30 fonts, 0 dirs
/usr/share/fonts/cantarell: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/gnu-free: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/liberation: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/noto: caching, new cache contents: 2137 fonts, 0 dirs
/usr/share/fonts/noto-cjk: caching, new cache contents: 80 fonts, 0 dirs
/root/.fonts: skipping, no such directory
/usr/share/fonts/TTF: skipping, looped directory detected
/usr/share/fonts/adobe-source-code-pro: skipping, looped directory detected
/usr/share/fonts/cantarell: skipping, looped directory detected
/usr/share/fonts/encodings: skipping, looped directory detected
/usr/share/fonts/gnu-free: skipping, looped directory detected
/usr/share/fonts/gsfonts: skipping, looped directory detected
/usr/share/fonts/liberation: skipping, looped directory detected
/usr/share/fonts/noto: skipping, looped directory detected
/usr/share/fonts/noto-cjk: skipping, looped directory detected
/usr/share/fonts/encodings/large: skipping, looped directory detected
/var/cache/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded
still broken?
yup
is there any way to figure out what font its trying to render?
Run it from the terminal, maybe it'll print something
Also run it with strace and read through the output
Make sure your locale configuration is correct
Do this as use too
running it as user worked. thanks
hm7 received a thank you cookie!
can you please explain to me what fc-cache -vf does?
it's worked for my pc but its not working for my laptop
perhaps it was a coincidence and not the fc-cache command
Updates the font cache which has to be run after font changes
On arch pacman runs the hook /usr/share/libalpm/hooks/fontconfig.hook which runs fc-cache as root
I don't know why running it as user was necessary in your case, maybe you have some font configuration in your home?
Look for paths in your home in fc-cache -vf
Look at the fontconfig config locations in $HOME https://wiki.archlinux.org/title/Font_configuration