LoadQueryFont
. This object
can then be passed to the GC method SetFont
or assigned to the
GC instance variable font
.
For example:
font = w.LoadQueryFont( '-*-times-medium-r-*-*-*-100-*-*-*-*-iso8859-1') gc.SetFont(font) gc.DrawString(x, y, 'Hello World!')