HUD/statbar scale to fullscreen doesn't respect aspect ratio

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.
Post Reply
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

HUD/statbar scale to fullscreen doesn't respect aspect ratio

Post by Nash »

In the HUD scaling options, if you set either the HUD or status bar to "scale to full screen", the "preserve aspect ratio" is ignored. The following happens:

When using the HUD, it seems to be hardcoded to square pixel AR. When using the status bar, it seems to be hardcoded to 1.2 Doom AR.

In both cases, toggling the "preserve aspect ratio" option does nothing.
User avatar
okbuddy
Posts: 31
Joined: Fri Jun 21, 2019 3:45 pm

Re: HUD/statbar scale to fullscreen doesn't respect aspect r

Post by okbuddy »

Also the "preserve aspect ratio" setting no longer affects the automap level stats and level name text. In previous versions of GZDoom and current LZDoom the text will either be square or stretched depending on the setting.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: HUD/statbar scale to fullscreen doesn't respect aspect r

Post by Graf Zahl »

I've been thinking about shitcanning the HUD scaling code anyway. The entire implementation is unintuitive garbage and compared to what I now got in Raze clearly inferior.

I have to admit that the entire scaling code as-is makes zero sense - it's the classic case of trying to sanitize something irreparably broken and ending up with something even more confusing.
If there just wasn't this issue with all those scripted mods out there. :(
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: HUD/statbar scale to fullscreen doesn't respect aspect r

Post by Graf Zahl »

Nash wrote:In the HUD scaling options, if you set either the HUD or status bar to "scale to full screen", the "preserve aspect ratio" is ignored. The following happens:
Now that I had a bit of time to think about it, that implementation was fully intentional. And like I said, it's very likely to go poof soon anyway. Switching GZDoom's HUD to Raze's scaling code is something that's definitely on my list and trying to fix the old code isn't really worth it anymore.
Post Reply

Return to “Closed Bugs [GZDoom]”