![]() |
The API is no longer being updated here until further notice. |
Inherits all font attributes from another font.
FontInstance:SetFontObject(font)
Arguments
- font
- Font🔗|string|nil - The reference or name of a font object e.g.
GameTooltipTextSmallor"GameTooltipTextSmall". Explicitly passnilto unset the font.
Example
myFontString:SetFontObject(GameTooltipTextSmall)
See also
SharedXML/SharedFontStyles.xmldefines the traditional game fonts.FrameXML/FontStyles.xmldefines additional fonts for certain use cases.
