FontInstance:GetFont

From Warcraft Wiki
Jump to navigation Jump to search

Returns the font instance's basic font properties.

fontFile, height, flags = FontInstance:GetFont()

Returns

fontFile
string - Path to font file.
height
number : uiFontHeight - Font height in pixels.
flags
string : TBFFlagsOUTLINE, THICK, MONOCHROME - Additional font properties (separated by commas).
Flag Description
MONOCHROME Font is rendered without antialiasing
OUTLINE Font is displayed with a black outline
THICK Font is displayed with a thick black outline

Example

/dump GameFontNormal:GetFont()
> "Fonts\\FRIZQT__.TTF", 12, ""

Patch changes

WoW Icon update.png Patch 1.9.0 (2006-01-03): Added.[1]

References