Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HiDPI: Missing interface to access physical dpi value. #826

Open
tuxzz opened this issue Mar 29, 2019 · 1 comment
Open

HiDPI: Missing interface to access physical dpi value. #826

tuxzz opened this issue Mar 29, 2019 · 1 comment
Labels
S - api Design and usability

Comments

@tuxzz
Copy link

tuxzz commented Mar 29, 2019

Now MonitorId::get_hidpi_factor returns a logical dpi factor.
But there is no function to access physcial dpi value of a screen, like QScreen::physicalDotsPerInch in Qt.

It's necessary for any physical-size-aware software like Ruler.

@Osspial
Copy link
Contributor

Osspial commented Mar 29, 2019

Would #442 accomplish what you're looking to do? Unfortunately that code's got some merge conflicts, but once those have been cleaned up it seems mostly ready to ship.

@goddessfreya goddessfreya added the S - api Design and usability label Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S - api Design and usability
Development

No branches or pull requests

3 participants