ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.66k stars 616 forks source link

[HL25] Wrong font in non-English localizations #3474

Open VladWinner opened 10 months ago

VladWinner commented 10 months ago

Issue

I noticed that the game in the Russian version uses a different font (I guess it's 'Tahoma') than in the English one. It looks very out of place: 01 Although 'Thebuchet MS Bold' from Windows 7-11 has Cyrillic (Russian letters) support, I suspect there are some legal restrictions that do not allow adding an updated version of font to the game.

Solution

Then I suggest using 'Fira Sans Medium' font, which is very similar to HL1 font, has SIL Open Font License and supports all the missing lanuages (where the OG font is replaced with fallback font). 02 Links to Fira Sans Medium: https://github.com/bBoxType/FiraSans/blob/master/Fira_Sans_4_3/Fonts/Fira_Sans_OTF_4301/Normal/Roman/FiraSans-Medium.otf https://github.com/bBoxType/FiraSans/blob/master/Fira_Sans_4_3/Fonts/Fira_Sans_TTF_4301/Normal/Roman/FiraSans-Medium.ttf

ELjanoCZE commented 9 months ago

I've encountered a similar bug in the Source engine with the extended latin, the characters are rendered, but with a different font and sometime without font antialiasing, despite the fact that used font contains those characters (I don't think it has anything to do with legal restrictions, because Goldsrc and Source are using system fonts). In my opinion, this is a limitation caused by an incorrect implementation of UTF-8 encoding in the engine (some kind of "supported characters" whitelist with fallback to a "safer font", Tahoma probably).

My experimenting with czech pangram in Goldsrc: image

Same issue in Source Engine with official czech translation: image image

VladWinner commented 9 months ago

The pause menu is now completely in English: image Exe version 1.1.2.2/Stdio (valve) Exe build: 23:48:06 Nov 20 2023 (9888)

We now consider this anniversary version of Half Life to be the definitive version, and the one we'll continue to support going forward. Therefore, we'll be reducing the visibility of Half Life: Source on the Steam Store. We know Half-Life: Source's assets are still being used by the Source engine community, so it'll remain available, but we'll be encouraging new Half-Life players to play this version instead. (https://www.half-life.com/en/halflife25)

Half-Life: Source has a complete text translation into Russian (I even made fixes for it), but HL25 doesn't have it for some reason.