Python - Tkinter Fonts
Python - Tkinter Fonts
Example
import tkFont
size − The font height as an integer in points. To get a font n pixels high, use -n.
weight − "bold" for boldface, "normal" for regular weight.
Example
helv36 = tkFont.Font(family="Helvetica",size=36,weight="bold")
X Window Fonts
If you are running under the X Window System, you can use any of the X font names.
For example, the font named "-*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-*-*-*" is the author's
favorite fixed-width font for onscreen use. Use the xfontsel program to help you select pleasing
fonts.