Provide macOS style fractional scaling #11960
Unanswered
mixedCase
asked this question in
Feature requests - Other
Replies: 1 comment 1 reply
-
|
ignoring how bad this method is, that's the default on wayland unless an app supports proper fractional scaling. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Some users prefer the result of fractional scaling the macOS way, where rather than letting surfaces control their fractional rendering, they're requested to render at a higher native resolution and downscale using Lanczos, to the tune of:
or alternatively:
int render_scale = std::ceil(ui_scale * native_ppi / reference_1x_ppi);Meaning, a 27" 4k monitor configured for 1.5x would render scale at 3x, and then downscaled /2 to fit in its native 4k neatly while giving it the physical size you'd expect of a 27" 1440p monitor at 1x.
Whether the best option would be to allow this as a window rule and/or monitor rule beats me, macOS only does it at the display level, but then again macOS does not run Wayland and thus there's no "each toolkit supports fractional scaling their own way".
Feel free to poke holes at the formula and the idea. Full disclosure: I'm not even the target user for this since I shop my monitors with integer scaling in mind, but I've talked with enough people both IRL and online complaining about this about for desktop Linux in general, and today a straw broke the camel's back.
Beta Was this translation helpful? Give feedback.
All reactions