FONTDEFS "DontTranslate"
Moderator: GZDoom Developers
-
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
FONTDEFS "DontTranslate"
An option for FONTDEFS-defined fonts to forbid the translation system from doing anything to the graphics. Incidentally, what I really want this for is to be able to use those nice 32-bit alpha-transparent font graphics DoomNukem cooked up without them getting messily downsampled in the process.
-
- Lead GZDoom+Raze Developer
- Posts: 49211
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: FONTDEFS "DontTranslate"
Better late than never. Added. And this was quite a hack to get into some code that was dead set on assuming it works with a palette.
-
-
- Posts: 17481
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: FONTDEFS "DontTranslate"
Wait so font alpha finally works?! Wheeeeeeeeee
-
- Posts: 531
- Joined: Sun Sep 05, 2010 12:09 pm
- Preferred Pronouns: He/Him
- Location: The Fortress of Dr. Radiaki
Re: FONTDEFS "DontTranslate"
Thank god I held on to the alpha versions of my fonts.
-
- Lead GZDoom+Raze Developer
- Posts: 49211
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: FONTDEFS "DontTranslate"
Nash wrote:Wait so font alpha finally works?! Wheeeeeeeeee
It took me the better part of an hour sifting through that code and find the right spot to hook this in. Talk about shortsighted design...
-
-
- Posts: 17481
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: FONTDEFS "DontTranslate"

(There is alpha, it's very subtle, and has shadows too, and it really makes all the difference - without it, the font looks like shit)
It really looks amazing and raises the bar for modern, high res UIs in GZDoom, but it's a shame about not being to colourize it at all. There's really no other way?
I don't mean to sound ungrateful, I mean I can just provide different graphics for coloured fonts, I'm willing to do that just to get nicer looking UIs... just wish it could be colourizable as well without providing extra graphics. :)
Nice work at any rate, this is a game changer!
-
- Lead GZDoom+Raze Developer
- Posts: 49211
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: FONTDEFS "DontTranslate"
No. The colorization will force a downconversion to the palette. That was the entire reason for the problem. The translations just cannot work without palette, maybe some workaround with OpenGL polygon lighting is possible, but that's for after the next release because it requires some deeper changes.Nash wrote: It really looks amazing and raises the bar for modern, high res UIs in GZDoom, but it's a shame about not being to colourize it at all. There's really no other way?