Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

XML/FontString

Last wiki revision 2021-10-31

<FontString> (inherits from, creates a ) draws text. &lt;FontString font="" bytes="" text="" spacing="" outline="" monochrome="" nonspacewrap="" wordwrap="" justifyV="" justifyH="" maxLines="" indented="" &gt; &lt;FontHeight /&gt; &lt;Color /&gt; &lt;Shadow /&gt; &lt;/FontString&gt;

  • font
  • bytes - Defaults to 255.
  • text
  • spacing
  • outline (ui:OUTLINETYPE) - "NORMAL", "THICK".
  • monochrome
  • nonspacewrap
  • wordwrap
  • justifyV (ui:JUSTIFYVTYPE) - "TOP", "MIDDLE", "BOTTOM".
  • justifyH (ui:JUSTIFYHTYPE) - "LEFT", "RIGHT", "CENTER".
  • maxLines
  • indented
  • alpha - Sets the.
  • ignoreParentAlpha - Controls alpha or as a fraction of its parent's alpha.
  • ignoreParentScale - Prevents resizing due to the.
  • May inherit a to take on its properties.
  • Similar to a, normally belongs inside within its <Layers> and child elements.

<FontString name="$parentFontString" font="Fonts\FRIZQT__.TTF" text="Example Text" justifyH="LEFT" justifyV="TOP"> <Color r="1" g="0.8" b="1" a="1"/> <FontHeight val="12"/> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" x="20" y="-20" /> </Anchors> <Shadow> <Offset x="1" y="1" /> <Color r="0" g="0" b="0"/> </Shadow> </FontString>

Source

https://warcraft.wiki.gg/wiki/XML/FontString · 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.