WoW:API FontString SetFont

From AddOn Studio
Revision as of 00:16, 10 February 2006 by WoWWiki>Flickering (Added note about font combinations)
Jump to navigation Jump to search

FontString:SetFont("font",size[,"flags"]) - Sets the font to use for display in the fontstring.

"font" is the name of a font size is the size of the font "flags" are any of OUTLINE, THICKOUTLINE and/or MONOCHROME

Usage

FontString:SetFont("FRIZQT__.TTF",11,"OUTLINE, MONOCHROME")


Notes:

From Slouken, posted 2006-02-09 "...each font+font-size*fontstring-scale+flags combination generates a new instance of that font (along with associated textures and vertex data)."

Template:WoW API