Returns basic properties of a font used in the frame

Signature:

filename, fontHeight, flags = SimpleHTML:GetFont(["element"])

Arguments:

  • element - Name of an HTML element for which to return font information (e.g. p, h1); if omitted, returns information about the frame's default font (string)

Returns:

  • filename - Path to a font file (string)
  • fontHeight - Height (point size) of the font to be displayed (in pixels) (number)
  • flags - Additional properties for the font specified by one or more (separated by commas) of the following tokens: (string)
    • MONOCHROME - Font is rendered without antialiasing
    • OUTLINE - Font is displayed with a black outline
    • THICKOUTLINE - Font is displayed with a thick black outline