protonscr

Fonts are missing

steamclosed reviewed
ValveSoftware/steam-for-linux#99 · opened 2012-12-20 by folone · updated 2019-07-18 · 23 comments · github
Ffolone 2012-12-20 github

Hello,

I'll duplicate my report here, as I did not get any help from forums. I've recently installed Steam for linux. Here's how it looks like for me:
Steam
I tried installing all the fonts, mentioned here: https://wiki.archlinux.org/index.php/MS_Fonts
I also know, it used to be a known problem when running Steam under wine, but linux client ignores "-no-dwrite" argument.

Running Steam under Arch Linux, on thinkpad x220:

  • Intel® Core™ i5-2520M (2.5GHz, 3MB L3 cache)
  • 16gb RAM
  • Intel HD Graphics 3000

Any help appreciated.

Mmdaffin 2012-12-20 github

From Archlinux wiki:

Steam makes heavy usage of the Arial font. To make fonts look better, you may wish to install the ttf-microsoft-arial or ttf-ms-fonts package from the AUR.

Do you have them both installed?

Ffolone 2012-12-20 github

ttf-microsoft-arial added some fonts, thanks. But still, most of them are missing. Here's how it looks like currently:

steam

Mmdaffin 2012-12-20 github

lib32-sdl_ttf
sdl_ttf
ttf-dejavu
ttf-freefont
ttf-liberation
ttf-microsoft-tahoma
ttf-ms-fonts

Are all the fonts I have installed and it is working for me (on archlinux as well). Are you missing any of them?

Ffolone 2012-12-20 github

Just installed/reinstalled all the fonts, you mentioned. Did not help.

Aahstro 2012-12-20 github

I'm not sure if this is only applicable when running Steam in Wine or not, but when I had troubles with no fonts I ran Steam with the flag "-no-dwrite" and that solved the problem.

If you don't know how to start Steam with a flag, just open a terminal and type in "steam -no-dwrite" or, if you're using AwesomeWM, just press mod4 + r and then type in "steam -no-dwrite".

Hope it helped!

Ffolone 2012-12-20 github

@LumenTeun As I pointed out in the issue description (↑), linux client ignores "-no-dwrite" argument.

Aahstro 2012-12-21 github

Oh, I'm sorry, I missed that. Guess I've got nothing then. Good luck.

Ggdrewb-valve maintainer 2013-01-24 github

This should have improved with the 1/23 release so that Steam will use whatever fonts you have. Do you still see a problem?

Ffolone 2013-01-25 github

I've just tried starting it again. Before starting it downloaded and installed an update, but nothing changed. Here's how it looks like right after the start completed (note, no fonts on the login screen too, just guessed that it wants password):
steam-new

Ffolone 2013-01-25 github

Could this be because I'm not using any DE/DM? I'm just using xmonad WM, which is started from ~/.xinitrc.

Ggdrewb-valve maintainer 2013-01-25 github

Are you running fontconfig? If you fc-list in a shell does it show fonts?

If it does I don't know why steam wouldn't find them, I've never seen anything like this.

Ffolone 2013-01-25 github

Fontconfig is installed:

folone.github.com [master●] % pacman -Q fontconfig                                ~/workspace/folone.github.com
fontconfig 2.10.2-1

fc-list outputs a bunch of stuff:

folone.github.com [master●] % fc-list | wc -l                                     ~/workspace/folone.github.com
1054
Ggdrewb-valve maintainer 2013-01-25 github

What does 'fc-match Arial' display? If you run a font viewer like fontmatrix can you find the font that matched and see if it has glyphs?

Ffolone 2013-01-25 github
~ % fc-match Arial                                                                                            ~
arial.ttf: "Arial" "Normal"

I'll find a font viewer, just a moment.

Ggdrewb-valve maintainer 2013-01-25 github

Does a font viewer show that font properly?

Ffolone 2013-01-25 github

It has some glyphs. At least it has all the glyphs for the letters and some symbols.

Ggdrewb-valve maintainer 2013-01-25 github

I'm out of ideas at the moment, sorry. We'll have to keep investigating.

Ffolone 2013-01-25 github

Thanks for looking into this anyway. I'll post the screenshot of the font viewer tomorrow-ish: my internet connection is pretty bad right now.

Ffolone 2013-01-27 github

Here's the screenshot:
glyph

Ggdrewb-valve maintainer 2013-01-27 github

That looks fine, I don't know why Steam wouldn't work. We'll keep looking.

Ffolone 2013-02-15 github

Hey, @gdrewb-valve,
It works now. I've downloaded the latest update, it did not fix it. I completely removed the client, and reinstalled it. And it started working.
You might want to grep for something like if(installedCount > 1) enableFonts() :)

Archievement unlocked: Reinstall.
You can now use fonts!

Ddanilogr 2013-02-15 github

I had the same problem,
installing ttf-microsoft-arial and ttf-ms-fonts solved it.
(ArchLinux too)

Ffolone 2013-02-16 github

The problem might be that the first time I was installing from AUR: steam was not in official pacman repos at that time yet.

Nothing extracted yet.