Lore archive · Warcraft Wiki, 2023 dump
XML/Font
Last wiki revision 2021-10-31
<Font> (creates a object) defines a font for text-containing elements like <FontString> and <EditBox>. <Font name="" inherits="" virtual="" font="" spacing="" outline="" monochrome="" justifyV="" justifyH="" height="" fixedSize="" filter="" > <FontHeight /> <Color /> <Shadow /> </Font>
- name - Similar to ; normally required but may be omitted inside a
- inherits - Similar to.
- virtual - Similar to.
- font
- spacing
- outline (ui:OUTLINETYPE ?) - "NONE" (default), "NORMAL", "THICK"
- monochrome
- justifyV (ui:JUSTIFYVTYPE ?) - "TOP", "BOTTOM", "MIDDLE" (default)
- justifyH (ui:JUSTIFYVTYPE ?) - "LEFT", "RIGHT", "CENTER" (default)
- height
- fixedSize
- filter
- <Font> objects are commonly made as virtual XML templates, as in, and then inherited by other elements:
- Alternatively, instantiate a concrete object and assign it with the attribute or during runtime with
- For localising to multiple character sets, the font should reside in a or inherit from one.
Using a Virtual XML template:
Using a concrete :
Source
https://warcraft.wiki.gg/wiki/XML/Font · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.