Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows GUI: Use native font size from new API, not 120% of old API
Code was copied from Qt library's dev branch's QWindowsFontDatabase, which (unlike the 5.x branch) uses SPI_GETNONCLIENTMETRICS to get the right font on Vista and up.
- Loading branch information
1 parent
828dc0f
commit 300d9c3
Showing
1 changed file
with
40 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters