FontInstance:GetFont
Jump to navigation
Jump to search
Returns the font instance's basic font properties.
fontFile, height, flags = FontInstance:GetFont()
Returns
- fontFile
- string - Path to font file.
- height
- number : uiFontHeight - Font height in pixels.
- flags
- string : TBFFlags - Additional font properties (separated by commas).
Flag | Description |
---|---|
"" |
The base font |
MONOCHROME |
Font is rendered without antialiasing |
OUTLINE |
Font is displayed with a black outline |
THICK |
Font is displayed with a thick black outline |
Example
/dump GameFontNormal:GetFont()
> "Fonts\\FRIZQT__.TTF", 12, ""
Patch changes
- Patch 1.9.0 (2006-01-03): Added.[1]
References
- ^ Iriel. Detailed API Changes 1.8.1 -> 1.9.0 (Dec 4). Archived from the original