Page 1 of 1

Inconsistent font rendering in menu

PostPosted: Thu Apr 18, 2019 7:00 am
by VoidMage
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.

Re: Inconsistent font rendering in menu

PostPosted: Thu Apr 18, 2019 7:19 am
by Graf Zahl
What screen resolution, scale factor and scaling mode are you using?

Re: Inconsistent font rendering in menu

PostPosted: Sun Apr 21, 2019 6:38 am
by VoidMage
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.

Re: Inconsistent font rendering in menu

PostPosted: Tue Apr 23, 2019 4:27 am
by Undead
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”.

Re: Inconsistent font rendering in menu

PostPosted: Tue Apr 23, 2019 4:55 am
by Graf Zahl
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.

Re: Inconsistent font rendering in menu

PostPosted: Tue Apr 23, 2019 5:54 am
by Rachael
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.

Re: Inconsistent font rendering in menu

PostPosted: Tue Apr 23, 2019 6:18 am
by Graf Zahl
I fixed that issue yesterday. The limit was 640x400 window size, not 640x400 client size.

Re: Inconsistent font rendering in menu

PostPosted: Sun Apr 28, 2019 9:33 am
by VoidMage
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...