More on fonts

Many Tkinter widgets let you specify custom font specifications either at the time of widget creation, or later by using the configure() option. For most cases, default fonts provide a standard look and feel. However, if you want to change font specifications, Tkinter lets you do so. There is one caveat though.

When you specify your own font, you need to make sure that it looks good on all the platforms where your program is intended to be deployed because a font might look good on a particular platform, but it may look awful on another platform. Unless you know what you are doing, it is always advisable to stick to Tkinter's default fonts.

Most platforms have their own set of standard fonts that are used by the platform's native widgets. ...

Get Tkinter GUI Application Development Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.