garrysmod-issues icon indicating copy to clipboard operation
garrysmod-issues copied to clipboard

[Linux x86-64 Branch] Invisible Fonts, or weird font rendering.

Open Munoida opened this issue 2 years ago • 5 comments

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.) image Russian "Muscle Tool" (The font is a bit more condensed than usual, I wonder why..?) image

I haven't tested this on other branches, so feel free to add on that you encounter the same issue on a different branch

Munoida avatar Jul 24 '22 01:07 Munoida

Same problem on Fedora 36, but after CEF-Codec Fix html doesn't work ;-;

troit5ky avatar Aug 01 '22 19:08 troit5ky

Yeah, haha, this has been broken for years!

gmod64bit avatar Aug 11 '22 01:08 gmod64bit

That's, depressing lol

Munoida avatar Aug 30 '22 11:08 Munoida

@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

EntityinArray avatar Sep 10 '22 17:09 EntityinArray

@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

Munoida avatar Sep 10 '22 19:09 Munoida

Try to set other font in fontconfig. This is solution for me.

alone-worker avatar Nov 11 '22 11:11 alone-worker