garrysmod-issues
garrysmod-issues copied to clipboard
[Linux x86-64 Branch] Invisible Fonts, or weird font rendering.
So, before and after the CEF-Codec Fix (which now will let you actually type in HTML screens) I have been getting this problem where HTML screens are fine, but in anything else, CJK fonts wont render, and Russian font rendering is weird.
Japanese "Muscle Tool" (Tested on Korean, same effect, Traditional and Simplified Chinese dont have a translation on Linux, for some reason.)
Russian "Muscle Tool" (The font is a bit more condensed than usual, I wonder why..?)
I haven't tested this on other branches, so feel free to add on that you encounter the same issue on a different branch
Same problem on Fedora 36, but after CEF-Codec Fix html doesn't work ;-;
Yeah, haha, this has been broken for years!
That's, depressing lol
@Munoida I think this might be a font issue, Linux doesn't ship Windows fonts out of the box due to copyright concerns. Gmod tries to use Windows fonts on all platforms without any fallback font (which is quite dumb). Japanese, Chinese and Korean fonts sometimes also need to be installed separately.
In my opinion, the best solution is to download Windows 10 ISO from Microsoft site, unpack it and copy all fonts from there to /usr/share/fonts
Tell me which distro you are on, I'll try to guide you through
@Munoida I think this might be a font issue, Linux doesn't ship Windows fonts out of the box due to copyright concerns. Gmod tries to use Windows fonts on all platforms without any fallback font (which is quite dumb). Japanese, Chinese and Korean fonts sometimes also need to be installed separately. In my opinion, the best solution is to download Windows 10 ISO from Microsoft site, unpack it and copy all fonts from there to
/usr/share/fonts
Tell me which distro you are on, I'll try to guide you through
I'm on Fedora 36, the last time I tried doing that with Windows's fonts destroyed my CJK support.
Even then, HTML menus are completely fine with CJK support, and any other Source games are completely fine. That's even more depressing that they don't have a proper fallback font for everything besides HTML menus LMAO
Try to set other font in fontconfig. This is solution for me.