Widget/API/SetFont

__NOTOC__
Sets the font details to use for FontStrings.
MyFontString:SetFont(file, size, weight, outline);
== Parameters ==
=== Arguments ===
:;file
::string - Filename of font file to use.
:;size
::number - Size to use when drawing font.
:;weight
::string - Weight of text. 
:::Values are:
:::* THIN
:::* NORMAL
:::* BOLD
:;outline
::number - Type of shadow outline on text.
:::Values are:
:::* NONE
:::* NORMAL
:::* THICK
=== Returns ===
:;None
== Example ==
MemViewerDynFrame.Text:SetFont("Fonts/DFHEIMDU.TTF", 12, "NORMAL", "NORMAL");
== Notes ==
== Related Pages==
*Widget (Overview)
Category:Widget/API Category:Widget/Class/FontString