Method Image.Fonts.open_font()
- Method open_font
Font open_font(string fontname, int size, int flags, int|void force)
- Description
Find a suitable font in the directories specified with set_font_dirs.
flags is a bitwise or of 0 or more of ITALIC, BOLD and NO_FAKE.
fontname is the human-readable name of the font.
If force is true, a font is always returned (defaulting to arial or the pike builtin font), even if no suitable font is found.