chimeraos icon indicating copy to clipboard operation
chimeraos copied to clipboard

Missing unicode font/text in update progress?

Open Tennyleaz opened this issue 4 years ago • 10 comments

I'm using gamer os 22, Steam 1608507519, in Traditional Chinese locale. The updating screen doesn't show correct text:

20210120_200401

Maybe it's a missing font?

Tennyleaz avatar Jan 20 '21 12:01 Tennyleaz

GamerOS does include wqy-zenhei.

Does this problem only happen on this update screen or everywhere in Steam as well?

Also, is this the initial Steam update/install when you first started up GamerOS?

alkazar avatar Jan 21 '21 01:01 alkazar

This problem only occurs in this update screen, in other places unicode text shows just fine.

This is not the initial install. I installed gamer os 20 in English locale back then, updating to gamer os 21 and to 22. This problem I think had occurred 2~3 times during steam update.

Tennyleaz avatar Jan 21 '21 02:01 Tennyleaz

This screen required some work to get even the English text working. I believe it looks for fonts at a path hard coded for Ubuntu. It could be something similar for other languages as well.

What language setting do you have Steam set to exactly?

alkazar avatar Jan 21 '21 02:01 alkazar

What language setting do you have Steam set to exactly?

I installed gamer os in English locale. After initial installation I changed my Steam locale to Traditional Chinese.

Tennyleaz avatar Jan 21 '21 02:01 Tennyleaz

Steam should make use of the fonts found in the wqy-zenhei package for this. Not sure why it isn't working. Is it just during the update or after as well?

sharkwouter avatar Jan 21 '21 08:01 sharkwouter

Is it just during the update or after as well?

The problem is just during this update UI.

Tennyleaz avatar Jan 21 '21 09:01 Tennyleaz

Looks like a Steam bug then

sharkwouter avatar Jan 21 '21 09:01 sharkwouter

This problem is happen when you use Bulgarian language too. In Ubuntu distros all are good. With Arch distros all have missing fonts. To reproduce, just change language to Bulgarian and then try update steam. Its not steam client bug, but something with distros with different path for fonts or just missing.

deathxxx123 avatar Mar 23 '22 20:03 deathxxx123

This is still a problem? Damn. So on Ubuntu the wqy-zenhei font files are in /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc and on Arch they are at /usr/share/fonts/wenquanyi/wqy-zenhei/wqy-zenhei.ttc.

Could you try the following on the command line/ssh and see if that fixes it:

sudo mkdir -p /usr/share/fonts/truetype/wqy
sudo ln -s /usr/share/fonts/wenquanyi/wqy-zenhei/wqy-zenhei.ttc /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc

If it asks for a password, I think the default password is gamer unless it was changed.

Edit: Making this change will probably require unlocking the filesystem to not be read only. Changes made to it will be overwritten in case of an update. It would be good if someone could test this fix, though, if it works it can be included.

sharkwouter avatar Mar 24 '22 08:03 sharkwouter

Looks like this might be fixed in the latest Steam client beta according to these release notes:

https://www.gamingonlinux.com/2022/08/steam-deck-got-a-few-beta-updates-recently-so-heres-whats-new/

alkazar avatar Aug 12 '22 13:08 alkazar