API FontInstance SetFontObject

Inherits all font attributes from another font.
 FontInstance:SetFontObject(font)
==Arguments==
:;font: - The reference or name of a font object e.g. GameTooltipTextSmall or "GameTooltipTextSmall". Explicitly pass nil to unset the font.
==Example==
myFontString:SetFontObject(GameTooltipTextSmall)
==See also==
* SharedXML/SharedFontStyles.xml defines the traditional game fonts.
* FrameXML/FontStyles.xml defines additional fonts for certain use cases.