[Fixed] Red text and untranslated text differences

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

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.
User avatar
Carnevil
Posts: 307
Joined: Sat Aug 23, 2003 4:46 pm

Red text and untranslated text differences

Post by Carnevil »

It seems that two colors which are supposed to be the same in Doom are actually coming out differently. In the code, you can specify to draw text as "untranslated", meaning it just uses the exact text graphics located in doom2.wad, or wherever without translating them at all, or red, which means that it takes the font, and actually turns it red. Now, you would expect the red and untranslated text in Doom to appear to be the same, since Doom's untranslated text is already red. However, it appears to be actually brighter. I remember in earlier versions of ZDoom this was not the case (I could go dig up which one it started doing this in if anyone really cares). It's pretty annoying because the two kind of clash, and it's pretty hard/annoying at times to always use untranslated for Doom, and then red for everything else.

Anyway, I've posted a screenshot demonstrating this. Hope you can fix this Randy. Thanks!
Attachments
DOOM0180.png
DOOM0180.png (75.05 KiB) Viewed 885 times
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

How is this a bug?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

This is an unavoidable side effect of how ZDoom handles fonts but most certainly NOT a bug!
User avatar
Carnevil
Posts: 307
Joined: Sat Aug 23, 2003 4:46 pm

Post by Carnevil »

Graf Zahl wrote:This is an unavoidable side effect of how ZDoom handles fonts but most certainly NOT a bug!
Unavoidable? How come this didn't happen in earlier versions of ZDoom, where Randy had basically the same font system?

If the red font in Doom is warped, I would certainly consider that to be a bug.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

You asked ZDoom to color the font red, and it did so. How is this an issue? Use untranslated if you like the color better.
User avatar
Chris
Posts: 2983
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

What about another shade then: dark red? it's kinda odd that you can have a red font, ask for red, and not get the right shade.
User avatar
AFADoomer
Posts: 1344
Joined: Tue Jul 15, 2003 4:18 pm
Contact:

Post by AFADoomer »

This actually make more sense, logically...

The thing that I've always wondered is why there's no way to make a font colored black.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

ZDoom uses the exact same color ranges defined by Boom and added one more (yellow with black outline as in Hexen) Boom just never defined others.

A little technical explanation what's going on here:

To handle this universally ZDoom decolorizes every font it uses to grayscale and then re-colorizes it to match the desired color. This allows using every font you can think of in each color no matter how it is designed. It's just that the 'red' font Doom uses gets altered by these algorithms. I don't think this is worth a fix.
User avatar
Enjay
 
 
Posts: 27332
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

AFADoomer wrote:The thing that I've always wondered is why there's no way to make a font colored black.
This was asked about before. My suggestion was that to make a font truly black, you'd actually lose what the letters were. Look at the doom font. The letters are not the shape of real letters. That dark, one pixel border around them would just make most letters a black, oddly shaped box if they were to be trasnlated to pure black.

A dark grey could be done. Otherwise, make a new font, colour it black and call it in a script as untranslated.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

Graf Zahl wrote:This is an unavoidable side effect of how ZDoom handles fonts but most certainly NOT a bug!
Carnevil's point is that the red used to be indistinguishable from untranslated and now they're not, so it should certainly be fixable. This probably happened because I had a bug in the color picker when I was designing the color ranges, and now the color picker has been fixed but the color ranges were left unaltered.
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Post by Risen »

I would like to see this changed—not because I think it is necessary or a bug—but because I like the red colors of the Doom font better than the reds on the translation, so other translated things would look better.

If you are going to change them, Please also consider adjusting grey and/or white so they are not so similar.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

About the Black font, would something like this work?
Attachments
It's a 8.
It's a 8.
black_8.png (263 Bytes) Viewed 781 times
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

That looks more like gray than black...

Hey, maybe gray should look like that instead of a duplicate of white.
User avatar
BouncyTEM
Posts: 3823
Joined: Sun Aug 24, 2003 5:42 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: 2280 Lol Street: The Calamitous Carnival (formerly Senators Prison)

Post by BouncyTEM »

Destroyer wrote:That looks more like gray than black...

Hey, maybe gray should look like that instead of a duplicate of white.
I agree to that. How can you use that specific font, though? [NOT the small font, the big one which they used for the difficultys.]
User avatar
AFADoomer
Posts: 1344
Joined: Tue Jul 15, 2003 4:18 pm
Contact:

Post by AFADoomer »

Enjay wrote:
AFADoomer wrote:The thing that I've always wondered is why there's no way to make a font colored black.
This was asked about before. My suggestion was that to make a font truly black, you'd actually lose what the letters were. Look at the doom font. The letters are not the shape of real letters. That dark, one pixel border around them would just make most letters a black, oddly shaped box if they were to be trasnlated to pure black.

A dark grey could be done. Otherwise, make a new font, colour it black and call it in a script as untranslated.
What if you wanted a solid black font, though? I made a simple, unshaded font that was a light gray (the shade of which is not doable via the built in translations). It would be nice to be able to make this font black in game without having to make another font file... but it's not that big of a deal.
Post Reply

Return to “Closed Bugs [GZDoom]”