[Fixed] GZDoom Unicode characters don’t show up in HR2

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

GZDoom Unicode characters don’t show up in HR2

Postby Undead » Mon Jun 03, 2019 3:14 am

I tried out Hell Revealed 2, which does not change the internal level names at all, with a few different languages (though it does add its own STCFN### font). In English, it appears the same as in the vanilla game, but when any other languages are loaded, I noticed that Unicode characters don’t draw at all. Take French:

Image

It is missing an accent mark, “Hall d’entrée,” but otherwise appears normally because É has E as a fallback character. Russian, though…

Image

No letters at all appear on the automap. What’s happening here? The strange thing is that Unicode characters do appear on the quit screen, at least (with a slight discoloration in the outline):

Image
User avatar
Undead
 
 
 
Joined: 26 Dec 2013
Location: Sweden

Re: GZDoom Unicode characters don’t show up in HR2

Postby Graf Zahl » Mon Jun 03, 2019 3:59 am

The problem here is quite simple: The font only supports English. I added a check to certain messages to fall back to the base font if the custom one does not fully support the given text, that is the notification messages, the centered messages and the menu confirmation. That's where the discoloration comes from, because it tries to remap the font to the custom one which not always yields the best results.

Such checks were not added for the automap texts
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: GZDoom Unicode characters don’t show up in HR2

Postby Graf Zahl » Wed Jul 17, 2019 1:28 pm

fixed
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: Trendiction.de [Bot] and 0 guests