Sets the font instance's basic font properties. Font files included with the default WoW client:
Fonts\\FRIZQT__.TTF- Friz Quadrata, used by default for player names and most UI textFonts\\ARIALN.TTF- Arial Narrow, used by default for chat windows, action button numbers, etc.Fonts\\skurri.ttf- Skurri, used by default for incoming damage/parry/miss/etc indicators on the Player and Pet framesFonts\\MORPHEUS.ttf- Morpheus, used by default for quest title headers, mail, and readable in-game objects.
Font files can also be included in addons.
Signature:
isValid = FontInstance:SetFont("filename", fontHeight, "flags")
Arguments:
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 antialiasingOUTLINE- Font is displayed with a black outlineTHICKOUTLINE- Font is displayed with a thick black outline
Returns:
isValid-1iffilenamerefers to a valid font file; otherwisenil(1nil)