[Closed] Inconsistent font rendering in menu

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Inconsistent font rendering in menu

Postby VoidMage » Thu Apr 18, 2019 6:00 am

As of 35186e9fd722.
This looks a bit like the problem here, but this time affecting the standard menu.

menu_sshot.png


As you may see, some of the glyphs on some of the lines are clipped.
There might be a pattern to it, but it must be a quirky one - it doesn't depend on the glyphs, as they're rendered correctly in other places of the same menu, neither does it seem to depend on glyph color.
You do not have the required permissions to view the files attached to this post.
User avatar
VoidMage
 
Joined: 02 Dec 2010

Re: Inconsistent font rendering in menu

Postby Graf Zahl » Thu Apr 18, 2019 6:19 am

What screen resolution, scale factor and scaling mode are you using?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Inconsistent font rendering in menu

Postby VoidMage » Sun Apr 21, 2019 5:38 am

I doubt resolution matters - it happens both widowed and fullscreen.
It seems to be set to 800x600 though.

I use either hqnx or xbrz - problem visible with both.
User interface scale set to 2.

If you were referring to something else, say so clearly.
User avatar
VoidMage
 
Joined: 02 Dec 2010

Re: Inconsistent font rendering in menu

Postby Undead » Tue Apr 23, 2019 3:27 am

Graf is referring to your GZDoom resolution (regardless of whether it is windowed or fullscreen), the “Resolution scale” and “Scale factor” settings in GZDoom, all found in Options > “Set video mode”.
User avatar
Undead
RUS/SRB translator
 
 
 
Joined: 26 Dec 2013
Location: Sweden

Re: Inconsistent font rendering in menu

Postby Graf Zahl » Tue Apr 23, 2019 3:55 am

Was this really 800 x 600?
There was a problem causing a glitch like this when the window was dragged to its minimum size. The handler allowed a minimum WINDOW size of 640 instead of a minimum CLIENT size and if that happened the problem described here happened - it was also the only case where I could reproduce it, and that part is already fixed.

If this is Linux, though, I cannot say. If this is the case there may be a problem in the backend code reporting wrong window sizes.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Inconsistent font rendering in menu

Postby Rachael » Tue Apr 23, 2019 4:54 am

There is currently an issue in Windows where the client size can be arbitrarily set (vid_setsize) to a small size - however the scaling code handles this by forcing the scaling to be 640x400 minimum no matter what the window size is.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Inconsistent font rendering in menu

Postby Graf Zahl » Tue Apr 23, 2019 5:18 am

I fixed that issue yesterday. The limit was 640x400 window size, not 640x400 client size.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Inconsistent font rendering in menu

Postby VoidMage » Sun Apr 28, 2019 8:33 am

Let's put it this way:
Code: Select allExpand view
vid_aspect=0
vid_vsync=false
vid_defheight=600
vid_defwidth=800
vid_rendermode=4
win_h=819
win_w=1024
win_y=102
win_x=128


...and yes, it's Linux.

Also, for comparison (as of 6d1a85af3c5a5f6):

menu_sshot2.png


...so it seems distortions happen at a certain height...
You do not have the required permissions to view the files attached to this post.
User avatar
VoidMage
 
Joined: 02 Dec 2010

Re: Inconsistent font rendering in menu

Postby phantombeta » Mon Dec 02, 2019 6:54 pm

Is there any bug here?
To me, this seems like the usual issue of Nearest Neighbour filtering crapping itself when non-integer values (be it scaling or coordinates) are introduced.
User avatar
phantombeta
In the meadow of sinful thoughts, every flower's a perfect one
 
Joined: 02 May 2013
Location: Brazil, South America, Earth, Orion-Cygnus Arm, Milky Way
Discord: phantombeta#2461
Twitch ID: phantombeta_
Github ID: Doom2fan
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Inconsistent font rendering in menu

Postby Graf Zahl » Tue Dec 03, 2019 12:58 am

It shouldn't do any non-integer scaling in the menu, unless the height is less than 480.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Inconsistent font rendering in menu

Postby Marisa Kirisame » Wed Dec 04, 2019 5:34 am

I'm incapable of reproducing this on my end. This is really odd. What window manager / desktop environment do you use?
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Inconsistent font rendering in menu

Postby VoidMage » Mon Jan 13, 2020 7:39 pm

...I rarely visit this forum these days.

As for my window manager, it's openbox.
DE doesn't really count, as it's actually a collection of bits and pieces (lxpanel, pcmanfm, etc.).

Also, still valid as of dc3b36ebd.
User avatar
VoidMage
 
Joined: 02 Dec 2010

Re: Inconsistent font rendering in menu

Postby Graf Zahl » Mon May 25, 2020 2:24 pm

Whatever this is, I strongly suspect a third party related problem.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: Gifty and 0 guests