GZDoom Unicode characters don’t show up in HR2

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

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


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest