GZDoom Unicode characters don’t show up in HR2

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: GZDoom Unicode characters don’t show up in HR2

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

by Graf Zahl » Mon Jun 03, 2019 2: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

GZDoom Unicode characters don’t show up in HR2

by Kostov » Mon Jun 03, 2019 2: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

Top