Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Wowpedia
Advertisement

<FontHeight> (inherits from <Value>, child of <FontString> and <Font>) sets the font height.

<FontHeight val="" />
<FontHeight>
	<AbsValue val="" />
	<RelValue val="" />
<FontHeight>

Attributes[]

val (xs:float) - Sets the font height, scaling dependent.

Child elements[]

<AbsValue> uses scaling-dependent distance; equivalent to attributes on the <FontHeight> tag itself.

<RelValue> multiplies the distance by 1566.5 before applying scaling.

Details[]

  • <FontHeight> is actually of type <Value>; however, this is the only tag which inherits it.
  • <Value> and <AbsValue> are xs:int; however, both accept xs:float without error.
  • The ratio for <RelValue> is evident from in-game testing, but the reason for it to be 1566.5 is unclear.

Patch changes[]

  • Shadowlands Patch 9.0.1 (2020-10-13): Since the removal of <Backdrop>, <FontHeight> remains the only tag that inherits <Value>.[1]

See also[]

  • <Dimension>, <Inset> - Other tags which share the same Abs/Rel pattern.
  1. ^ 2020-10-13, UI.xsd, version 9.0.1.36230, archived at Townlong-Yak
Advertisement