ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
634 stars 74 forks source link

Half-Life 2 - wrong font rendering on a Steam Deck #5427

Open martinsuchan opened 8 months ago

martinsuchan commented 8 months ago

Your system information

Please describe your issue in as much detail as possible:

When running Half-Life 2 on a Steam Deck OLED with Czech locale, the fonts are not rendered properly across the whole game. They are not positioned right vertically, probably due to problems with the font not supporting UTF-8 characters or there is a problem with the rendering? Notice those Czech characters ČŘŽ on the screenshot with a different size.

Expected behavior: Fonts should be rendered properly like here: POKRAČOVAT VE HŘE

Steps for reproducing this issue:

  1. Launch the game on a Steam-Deck with Czech locale
  2. Notice the fonts in the start screen, settings or in-game

screen

martinsuchan commented 8 months ago

Update, I just noticed similar font issue in the Windows verison of Half-Life 2 on Windows with Czech locale - wrong Czech characters are shown when quicksaving the game, when it shows "Uloženo", or when the message is shown after Alyx is killed.

Edit, similar issue with the font was observed in HL2: Lost Coast and in HL2: Episode 1 when using Czech Windows locale. Looks like all these apps use the same font which is not compatible with some non-ASCII national characters. Strangely this broken font is used on the HL2 Linux main game menu, see the screenshot, but not in the Windows main game menu,

martinsuchan commented 6 months ago

Update, similar font issue is also in Portal 2 on Steam Deck - all subtitles from GLaDOS or Wheatley with Czech characters are not shown properly. This really should be fixed.