Charibot@legacy41530750 (talk | contribs) m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}}) |
EWOlson16589@legacy41537460 (talk | contribs) (Factual correction) |
||
Line 8: | Line 8: | ||
Usage |
Usage |
||
− | FontString:SetFont("FRIZQT__.TTF",11,"OUTLINE, MONOCHROME") |
+ | FontString:SetFont("Fonts\\FRIZQT__.TTF", 11, "OUTLINE, MONOCHROME") |
Revision as of 00:37, 2 September 2008
The API is no longer being updated here until further notice. |
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("Fonts\\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)."