diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-06-11 18:35:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 18:35:13 (GMT) |
commit | 144a8670f24a157642c5f7fbaf518e87c7c1b969 (patch) | |
tree | 1b7e6e3f80f4a7db688c18cb1b2a1ac9fdec8208 /Lib/email/errors.py | |
parent | 904cdbaa9b660d111f5d5f639b38205192715106 (diff) | |
download | cpython-144a8670f24a157642c5f7fbaf518e87c7c1b969.zip cpython-144a8670f24a157642c5f7fbaf518e87c7c1b969.tar.gz cpython-144a8670f24a157642c5f7fbaf518e87c7c1b969.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.
(cherry picked from commit 800415e3df69f494afe9f95a8563ce17609fe1da)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/email/errors.py')
0 files changed, 0 insertions, 0 deletions