# Font (global functions): World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/Font

## Functions

### CreateFontFamily

```lua
fontFamily = CreateFontFamily(name, members)
```

Arguments:
- `name`: cstring
- `members`: CreateFontFamilyMemberInfo[]

Returns:
- `fontFamily`: SimpleFont

### GetFontInfo

```lua
info = GetFontInfo(fontObject)
```

Arguments:
- `fontObject`: SimpleFont

Returns:
- `info`: FontScriptInfo, may be nil

### GetFonts

```lua
fontNames = GetFonts()
```

Returns:
- `fontNames`: cstring[]

## Tables

### CreateFontFamilyMemberInfo (structure)

- `alphabet`: FontAlphabet
- `file`: cstring
- `height`: uiFontHeight
- `flags`: TBFFlags

### FontScriptInfo (structure)

- `color`: colorRGBA
- `height`: number
- `outline`: string
- `shadow`: FontScriptShadowInfo, may be nil
- `fontObject`: SimpleFont
- `canBeUserScaled`: bool

### FontScriptShadowInfo (structure)

- `color`: colorRGBA
- `x`: number
- `y`: number

---
Make an addon with your 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."
