Attempting to resolve blurred tkinter text + scaling on Windows 10 high DPI displays, but concerned my approach is not Pythonic or is unsafe

前端 未结 2 1157
感动是毒
感动是毒 2021-02-05 13:47

After hours of tweaking I have settled on this code which allows me to get round the familiar problem of blurry / fuzzy text in Windows 10 on high DPI displays when using Tkinte

2条回答
  •  悲哀的现实
    2021-02-05 14:22

    Simply using windll.shcore.SetProcessDpiAwareness(1) and allowing font size adjustment solved my problems on Windows 10.

    Not sure why no one commented or assisted though. The blurry fonts are a pain, I would expect this thread had a debate and a best solution for this Tkinter nuisance..

提交回复
热议问题