FONTDEFS "DontTranslate"

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: FONTDEFS "DontTranslate"

Re: FONTDEFS "DontTranslate"

by Graf Zahl » Sun Feb 26, 2017 4:30 pm

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?
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.

Re: FONTDEFS "DontTranslate"

by Nash » Sun Feb 26, 2017 2:50 pm

Image

(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!

Re: FONTDEFS "DontTranslate"

by Graf Zahl » Sun Feb 26, 2017 2:00 pm

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...

Re: FONTDEFS "DontTranslate"

by Ral22 » Sun Feb 26, 2017 1:51 pm

Thank god I held on to the alpha versions of my fonts.

Re: FONTDEFS "DontTranslate"

by Nash » Sun Feb 26, 2017 12:30 pm

Wait so font alpha finally works?! Wheeeeeeeeee

Re: FONTDEFS "DontTranslate"

by Graf Zahl » Sun Feb 26, 2017 12:27 pm

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.

FONTDEFS "DontTranslate"

by wildweasel » Wed Jul 31, 2013 6:25 pm

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.

Top