Method Image.Fonts.open_font()
- Method open_font
Fontopen_font(stringfontname,intsize,intflags,int|voidforce)- Description
Find a suitable font in the directories specified with set_font_dirs.
flagsis a bitwise or of 0 or more of ITALIC, BOLD and NO_FAKE.fontnameis the human-readable name of the font.If
forceis true, a font is always returned (defaulting to arial or the pike builtin font), even if no suitable font is found.