Page 1 of 1

SMALLFONT replacements can break the colors of menu font

PostPosted: Fri May 03, 2019 5:58 am
by Marisa Kirisame
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.

Re: SMALLFONT replacements can break the colors of menu font

PostPosted: Fri May 03, 2019 8:02 am
by Marisa Kirisame
So far I've worked around it by recoloring the font (it was plain white).

Re: SMALLFONT replacements can break the colors of menu font

PostPosted: Sun May 05, 2019 2:15 am
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.

Re: SMALLFONT replacements can break the colors of menu font

PostPosted: Fri Aug 09, 2019 4:43 am
by Graf Zahl
So, no link to a testable mod. I think this can wait until later then.

Re: SMALLFONT replacements can break the colors of menu font

PostPosted: Fri Aug 09, 2019 2:14 pm
by Marisa Kirisame
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.