WowAddons

World of Warcraft Forever API · Font.md, for your AI

Font (global functions)

3 functions, 3 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

CreateFontFamily

fontFamily = CreateFontFamily(name, members)

Arguments

namecstring
membersCreateFontFamilyMemberInfo[]

Returns

fontFamilySimpleFont

GetFontInfo

info = GetFontInfo(fontObject)

Arguments

fontObjectSimpleFont

Returns

infoFontScriptInfo may be nil

GetFonts

fontNames = GetFonts()

Returns

fontNamescstring[]

Tables

CreateFontFamilyMemberInfo structure

alphabetFontAlphabet
filecstring
heightuiFontHeight
flagsTBFFlags

FontScriptInfo structure

colorcolorRGBA
heightnumber
outlinestring
shadowFontScriptShadowInfo may be nil
fontObjectSimpleFont
canBeUserScaledbool

FontScriptShadowInfo structure

colorcolorRGBA
xnumber
ynumber

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows