SMALLFONT replacements can break the colors of menu font

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!
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

SMALLFONT replacements can break the colors of menu font

Post by Marisa the Magician »

This is a little issue I noticed lately with Doom Tournament, since it replaces SMALLFONT to be more consistent with the UT HUD. It's especially problematic for grayed out text (or everything in general when loaded with Heretic).


If there is some workaround for this I could implement on my end without having to get rid of the font itself, I'd do it instead.
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: SMALLFONT replacements can break the colors of menu font

Post by Marisa the Magician »

So far I've worked around it by recoloring the font (it was plain white).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: SMALLFONT replacements can break the colors of menu font

Post by Graf Zahl »

What this tries is to match the VGA font's color to the mod provided SmallFont. Obviously in some degenerate cases this will lead to ugly results, but when testing this I was unable to find a font to fall victim to this problem. I guess what this should do is to fall back to some standard color if the font is a single solid color that cannot be converted into a color ramp.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: SMALLFONT replacements can break the colors of menu font

Post by Graf Zahl »

So, no link to a testable mod. I think this can wait until later then.
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: SMALLFONT replacements can break the colors of menu font

Post by Marisa the Magician »

Oh, I thought this was a wontfix after I worked around it. Hold on.

Edit: huh, I can't reproduce this anymore.
Edit #2: nvm, if I make the single color font gray it causes menu options to turn purple.

Here's the example file.
Post Reply

Return to “Bugs [GZDoom]”