Search code examples
python-3.xfontstkinterhdpihighdpi

Improving the look of tkinter fonts on a High DPI screen


When using tkinter to create a more modern looking application, I looked to MS Word to inspire my design. Then I noticed that only when I'm using the application on a High DPI device that it looks so terrible.

Example Image

Is there a way to compensate and make it look just as crisp?

NOTE: "Don't use tkinter" is not on the table.


Solution

  • The best solution I have found for this is to create a custom widget using the WCK (Widget Construction Kit). Text displayed using this is automatically Anti-Aliased.