Details
-
Suggestion
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
None
-
None
Description
Consider adding QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round); to main().
Quoting esabraha from https://bugreports.qt.io/browse/QTBUG-96465?focusedId=602112#comment-602112 (emphasis added):
Setting HighDpiScaleFactorRoundingPolicy::Round or similar would also get rid of scaling artifacts. I would actually recommend this as a general best practice, as applying a fractional scale to the full scene can give quite a few unwanted visual artifacts for UIs, which are expected to be pixel-perfect.
Attachments
Issue Links
- resulted from
-
QTBUG-96465 Text's underline thickness is unstable on fractional screen's scale factors
- Closed