ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
787 stars 69 forks source link

Missing fonts in community server browser #2544

Open mmt84 opened 4 years ago

mmt84 commented 4 years ago

Community server browser misses some fonts despite the fact that I've installed all windows 10 fonts in my system. I'm on Arch Linux and my steam client is up-to-date. Tried both steam runtime and steam native.

The "x" for closing the browser and star emoji from server descriptions are missing.

csgolinux64

mmt84 commented 4 years ago

I've no performance issues in game. And all fonts (player names etc.) and characters (including cyrillic, arabic, cjk fonts and emojis) are displayed correctly in game. I only have problem with developer console fonts and community server browser fonts.

kisak-valve commented 4 years ago

Partial duplicate of #345 / #2167.

Revilum commented 4 years ago

I managed to fix this issue by installing ttf-mscorefonts-installer on debian but the name depends on your distro

mmt84 commented 4 years ago

The package you mention provides an outdated version of ms core fonts and does not provide all the fonts included in a windows installation. All it does is to install those fonts system wide and update your fontconfig cache.

robertswiecki commented 3 years ago

A few days ago it happened to me too, I uninstalled some fonts and the community server browser, plus some elements of game UI (scoreboard, some messages) became wonky when displaying non-ASCII chars (e.g. words were cut in half if they contained non-ascii chars).

It turned out I uninstalled also locales-all package (debian) for some reason, and it was the culprit here, not the missing fonts. Re-installing it fixed it. I don't know the details of libfontconfig but I guess it might depend on some locale files for font rendering.

0xf0cd commented 2 years ago

I've had a similar problem and have had it for months if not years, and still unable to find a solution anywhere.

csgo-font-issue

Revilum commented 2 years ago

I've had a similar problem and have had it for months if not years, and still unable to find a solution anywhere.

csgo-font-issue

which distro are you using?

internethering commented 2 years ago

I've this problem too, I'm using gentoo linux and corefonts are installed:

/usr/share/fonts/corefonts/andalemo.ttf
/usr/share/fonts/corefonts/arial.ttf
/usr/share/fonts/corefonts/arialbd.ttf
/usr/share/fonts/corefonts/arialbi.ttf
/usr/share/fonts/corefonts/ariali.ttf
/usr/share/fonts/corefonts/ariblk.ttf
/usr/share/fonts/corefonts/comic.ttf
/usr/share/fonts/corefonts/comicbd.ttf
/usr/share/fonts/corefonts/cour.ttf
/usr/share/fonts/corefonts/courbd.ttf
/usr/share/fonts/corefonts/courbi.ttf
/usr/share/fonts/corefonts/couri.ttf
/usr/share/fonts/corefonts/encodings.dir
/usr/share/fonts/corefonts/fonts.dir
/usr/share/fonts/corefonts/fonts.scale
/usr/share/fonts/corefonts/georgia.ttf
/usr/share/fonts/corefonts/georgiab.ttf
/usr/share/fonts/corefonts/georgiai.ttf
/usr/share/fonts/corefonts/georgiaz.ttf
/usr/share/fonts/corefonts/impact.ttf
/usr/share/fonts/corefonts/tahoma.ttf
/usr/share/fonts/corefonts/times.ttf
/usr/share/fonts/corefonts/timesbd.ttf
/usr/share/fonts/corefonts/timesbi.ttf
/usr/share/fonts/corefonts/timesi.ttf
/usr/share/fonts/corefonts/trebuc.ttf
/usr/share/fonts/corefonts/trebucbd.ttf
/usr/share/fonts/corefonts/trebucbi.ttf
/usr/share/fonts/corefonts/trebucit.ttf
/usr/share/fonts/corefonts/verdana.ttf
/usr/share/fonts/corefonts/verdanab.ttf
/usr/share/fonts/corefonts/verdanai.ttf
/usr/share/fonts/corefonts/verdanaz.ttf
/usr/share/fonts/corefonts/webdings.ttf

tried also https://wiki.archlinux.org/title/Microsoft_fonts#Using_fonts_from_a_Windows_partition - doesn't work too

0xf0cd commented 2 years ago

Arch Linux On Wed, Sep 21, 2022 at 01:29, Richard Hering @.***> wrote:
I've this problem too, I'm using gentoo linux and corefonts are installed: /usr/share/fonts/corefonts/andalemo.ttf /usr/share/fonts/corefonts/arial.ttf /usr/share/fonts/corefonts/arialbd.ttf /usr/share/fonts/corefonts/arialbi.ttf /usr/share/fonts/corefonts/ariali.ttf /usr/share/fonts/corefonts/ariblk.ttf /usr/share/fonts/corefonts/comic.ttf /usr/share/fonts/corefonts/comicbd.ttf /usr/share/fonts/corefonts/cour.ttf /usr/share/fonts/corefonts/courbd.ttf /usr/share/fonts/corefonts/courbi.ttf /usr/share/fonts/corefonts/couri.ttf /usr/share/fonts/corefonts/encodings.dir /usr/share/fonts/corefonts/fonts.dir /usr/share/fonts/corefonts/fonts.scale /usr/share/fonts/corefonts/georgia.ttf /usr/share/fonts/corefonts/georgiab.ttf /usr/share/fonts/corefonts/georgiai.ttf /usr/share/fonts/corefonts/georgiaz.ttf /usr/share/fonts/corefonts/impact.ttf /usr/share/fonts/corefonts/tahoma.ttf /usr/share/fonts/corefonts/times.ttf /usr/share/fonts/corefonts/timesbd.ttf /usr/share/fonts/corefonts/timesbi.ttf /usr/share/fonts/corefonts/timesi.ttf /usr/share/fonts/corefonts/trebuc.ttf /usr/share/fonts/corefonts/trebucbd.ttf /usr/share/fonts/corefonts/trebucbi.ttf /usr/share/fonts/corefonts/trebucit.ttf /usr/share/fonts/corefonts/verdana.ttf /usr/share/fonts/corefonts/verdanab.ttf /usr/share/fonts/corefonts/verdanai.ttf /usr/share/fonts/corefonts/verdanaz.ttf /usr/share/fonts/corefonts/webdings.ttf

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

robertswiecki commented 2 years ago

As a reminder - please take a look at https://github.com/ValveSoftware/csgo-osx-linux/issues/2544#issuecomment-840881507 - the libfontconfig (the ttf renderer) requires proper locale files to render fonts correctly, so check if your distro contains relevant locales-all or a similar package.

One way to check it, is to simply type perl in your command-line, if it complaints about locales at start, then I guess you should work on it.