need API to discover hidpi scale factor
Bug #1398855 reported by
Allison Karlitskaya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Wishlist
|
Alexandros Frantzis |
Bug Description
Although Mir has mir_surface_
The user may want to configure the scaling factor independent of DPI and just because the DPI of a screen changes doesn't mean we should necessarily change the pixel size of controls.
We need an API that tells us the scaling factor directly.
Changed in mir: | |
importance: | Undecided → High |
assignee: | nobody → Alexandros Frantzis (afrantzis) |
tags: | added: enhancement |
Changed in mir: | |
milestone: | none → 0.17.0 |
To post a comment you must log in.
If your screen was physically 200DPI and you didn't like squinting and wanted more like 100DPI then that would certainly mean a scaling factor of 2.0 in theory. You could implement that as a literal scaling factor of 2.0, or you could implement it as a desktop DPI setting of "100DPI" (which is how Windows has done it for the past 20+ years).
So there are multiple ways to do this...