UI fonts are blurry after scaling on high DPI monitor

I've just upgraded to a 1440 monitor, and encountered this issue with MV's editor first not scaling at all (which was easily enough solved), but then once I got it to scale, text looked much blurrier than on my 1080p monitor.

Not sure this will come through after compression and forum posting, but here is how it originally looked, where everything was totally sharp in 1080p:

2021-05-26 14_53_01-Database.png



Then here is how it looks after scaling in Windows:
2021-05-26 14_51_40-RPGMV.png


All of the fonts are quite blurry -- I tried making do with it, but it's just too uncomfortable on the eyes.

I've scoured every forum thread, and tried all manner of little tricks and hacks and registry edits, but nothing seems to solve this. RPGMV is 95% of what I do on this computer, so I'm pretty motivated to get this working, otherwise I would have to return the monitor, which would be a crying shame!

I've tried different scaling options, including custom scaling, I've tried an app that used Windows 8 scaling, and those solutions have not worked. I'm on version 1.4.1 -- might this be the culprit?

I'm on an i7 6700K, with Radeon RX 580, on the latest Windows 10, if that helps.

Hoping anyone has some insight here -- many thanks! :LZSsmile::LZSjoy::LZSsmile:
I have found that blurriness of text is almost always a side effect of scaling when it comes to Windows. I picked up an ultrawide monitor a while back and because 1440p, I figured "with all this screen real estate, might as well zoom in a bit!" just like you. However, I also suffered this issue, but unfortunately it affected many things, including my development tools.

I read all sorts of posts about this, and most say it is an issue with ClearType not working properly or something with scaling on today's monitors, but the ultimate solution was just... don't scale. (and sit closer to my monitor because I'm blind)

I don't think anyone here can fix this directly, as this isn't really a problem of RPG Maker as far as I understand, this is a Windows woe.
scaling almost always creates a blur - which is not the correct way to describe the effect, because it is not a real blur at all but a mixed-color outline.

here is a description of what really happens:
let's assume you have a two-pixel-picture, one pixel black (left) and one white (right).
you now want to scale it 150% - that means you will now have three pixels in the new size.
the left and right pixels are easy at black and white, but what will happen with the new middle pixel?

image programs have different mathematical formula to guess the colors on resizing - that is what you can choose on good programs with options like bi-linear or nearest-neighbor (named differently in different programs)

something like nearest neighbor ("I choose black") will result in distortions because the line between black and white is suddenly no longer in the middle but at one third of the picture that now contains black-black-white.

other formula choose a mixed color and the picture is now black-grey-white, because grey is the mix between black and white.
And that grey is what you see as "blur" between the pixels.

and the only way to prevent that is to not have irregular numbers of pixels - which means scaling is only clear at 200%, 300%, 400% and so on, any number between 100% and 200% will cause either blur or distortions or other display effects.
That's interesting to know how that works. I appreciate the explanation.

May just have to ditch the fancy monitor and stick with 1080!

The way I figured scaling worked was, it simply increased font size and resized vector elements. The Windows desktop looks crisp resized, as do most other apps. I reckon there'd be a way for RPGM to implement some kind of built-in scaling support, but I get that it works right now as kind of a "zoom".

I'm astonished so many people are working unscaled! Better and younger eyes than mine :LZScool:
The way I figured scaling worked was, it simply increased font size and resized vector elements. The Windows desktop looks crisp resized, as do most other apps. I reckon there'd be a way for RPGM to implement some kind of built-in scaling support, but I get that it works right now as kind of a "zoom".
Yep, the Windows 10 Creators Update added an alternative scaling mode called GDI scaling:
Like you mention, GDI scaling can help to mitigate scale-based blurring of some screen elements, e.g. fonts. It looks like you can enable it for any app via the compatibility tab (check the article, about halfway through). Apps have to output their display data in a specific format for this to work, though.
That's interesting to know how that works. I appreciate the explanation.

May just have to ditch the fancy monitor and stick with 1080!

The way I figured scaling worked was, it simply increased font size and resized vector elements. The Windows desktop looks crisp resized, as do most other apps. I reckon there'd be a way for RPGM to implement some kind of built-in scaling support, but I get that it works right now as kind of a "zoom".

I'm astonished so many people are working unscaled! Better and younger eyes than mine :LZScool:
I may or may not have the browser zoomed in.
Most chat apps I leverage appear to be Electron-based, so zooming in those is also possible.
It is just a matter of deciding: is the blur worth it? And in the long run, the blur actually started causing a bit of headaches and strain, so I opted to just deal with smaller text in RM, and be happy about the fact that a bigger unscaled window means more room to map stuff (which the map can also be zoomed in on).

I think the benefits of having >1080p resolution outweighs the annoyances with editors that never really see significant UI upgrades (coughRPGMAKERcoughcough). But that is also a personal opinion.
Yep, the Windows 10 Creators Update added an alternative scaling mode called GDI scaling:
Like you mention, GDI scaling can help to mitigate scale-based blurring of some screen elements, e.g. fonts. It looks like you can enable it for any app via the compatibility tab (check the article, about halfway through). Apps have to output their display data in a specific format for this to work, though.

Thanks caethyril, I indeed became quite familiar with the compatibility menu when troubleshooting this 😉 None of the settings or overrides had any effect on the RPGM UI, unfortunately.

I think I'll just save up until I can get a 4k monitor, that way I can scale to 200% with no blurriness.
The way I figured scaling worked was, it simply increased font size and resized vector elements.
That is only possible if those vectors exist.

In 2D-pixel art, there is no vector.
In 3D calculated displays, everything is a vector (which is why 3D-games have no problems with scaling)

on Windows Desktop it depends - for example fonts can be realised both as pixel fonts and as vector fonts depending on the program doing the rendering, and that is why some programs have better results than others.

FYI: RMMV and RMMZ use the Qt-engine as the base for the editor framework, you might want to check that for troubleshooting. There are other programs who use it as well because it is one of the frameworks available through multiple operating systems (many frameworks are windows-only, but those are better handled by Windows).

Original thread: https://forums.rpgmakerweb.com/threads/ui-fonts-are-blurry-after-scaling-on-high-dpi-monitor.136866/