protonscr

Steam text/fonts problems

steamclosed reviewedSteam clientlocalization
ValveSoftware/steam-for-linux#2601 · opened 2013-06-19 by Ghost99 · updated 2019-07-18 · 11 comments · github
GGhost99 2013-06-19 github

I have Gentoo on AMD64. My Xorg DPI setting is 106. System locale is "ru_RU.UTF8".

  1. Text in update window's title is written in incorrect encoding. That problem is occurs only in update window.
    This is not a Cyrillic:
    not_cyrillic
  2. Text in some Steam elements (buttons, text fields etc) seems to be overflowed. This is most certainly related for my system's non-standard DPI (106). But still.
    text_overflow
Ggdrewb-valve maintainer 2013-06-19 github

In the first dialog picture is that your regular window manager decoration? It doesn't seem to be Steam's.

GGhost99 2013-06-19 github

Yes, this is regular window manager decoration (metacity-2.30.3). This dialog have this as long as I can remember Steam for Linux. Steam runtime is enabled.

Ggdrewb-valve maintainer 2013-06-19 github

Steam must be providing the string data for the window title incorrectly.

GGhost99 2013-06-19 github

It probably did.
What about second issue with text overflowing? is it correctable?
I think the source of that problem is in fact that Steam window elements was never been resizable, so if text would be longer, then it will not fit. That is common problem with DPI and fixed size elements, for example in web design.

Ggdrewb-valve maintainer 2013-06-19 github

The second issue is fixable but low priority.

Mmagcius 2013-06-21 github

Make sure that you set _NET_WM_NAME using full UTF-8 data using the UTF8_STRING property type, and do not use the deprecated WM_NAME with any kind of localized data. This will make sure that the WM can read your title string.

Sstevethepocket 2013-07-03 github

The second issue isn't related to nonstandard DPI; it's present in the vanilla Windows client as well, though it'll probably be hard to catch now that the client updates during startup as well. I think the text box's contents are set to a fixed width that's wider than the actual box.

Sstevethepocket 2013-07-10 github

Here we go. A picture of the self-updater in Windows 7, no custom text scaling:

steam self-updater

ZZeXx86 2013-07-18 github

ad 1) Same problem with cs_CZ localization - #2690.

GGhost99 2013-07-20 github

Ok, first problem (wrong title encoding) is fixed in latest update.

Kkisak-valve maintainer 2017-05-19 github

Closing as this was fixed some time ago.

Nothing extracted yet.