diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2018-06-11 18:14:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 18:14:32 (GMT) |
commit | 800415e3df69f494afe9f95a8563ce17609fe1da (patch) | |
tree | 70a721cdd892e7364c9a7a49ff38076f6fa8e91f /Doc/whatsnew | |
parent | 0e5f901508dea6437dc9ee89b434feca721d45be (diff) | |
download | cpython-800415e3df69f494afe9f95a8563ce17609fe1da.zip cpython-800415e3df69f494afe9f95a8563ce17609fe1da.tar.gz cpython-800415e3df69f494afe9f95a8563ce17609fe1da.tar.bz2 |
bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137)
On Windows 8.1+ or 10, with DPI compatibility properties of the Python binary
unchanged, and a monitor resolution greater than 96 DPI, this should
make text and lines sharper. It should otherwise have no effect.
Using a magnifier, I determined that the improvement comes from horizontal and
lines being better lined up with the monitor pixels. I checked that this call causes
no problem on any Windows buildbot, including the Win7 buildbots. Unlike most
IDLE patches, this one can be easily reverted by users by removing a few lines,
at the top of idlelib/pyshell.py.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 37f8c46..bb32361 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -1179,6 +1179,12 @@ colors for custom themes is added to Highlights tab of Settings dialog. (Contributed by Cheryl Sabella and Terry Jan Reedy in :issue:`33642`, :issue:`33768`, and :issue:`33679`) +On Windows, a new API call tells Windows that tk scales for DPI. On Windows +8.1+ or 10, with DPI compatibility properties of the Python binary +unchanged, and a monitor resolution greater than 96 DPI, this should +make text and lines sharper. It should otherwise have no effect. +(Contributed by Terry Jan Reedy in :issue:`33656`). + importlib --------- |