You do not have to use predefined font styles, you can define your own:
Lua Code:
local path = "EsoUI/Common/Fonts/univers67.otf"
local size = 50
local outline = "soft-shadow-thin"
label:SetFont(path .. "|" .. size .. "|" .. outline)
Outlines:
- "none"
- "outline"
- "thin-outline"
- "thick-outline"
- "shadow"
- "soft-shadow-thin"
- "soft-shadow-thick"
Default font paths:
- "EsoUI/Common/Fonts/arialn.ttf"
- "EsoUI/Common/Fonts/consola.ttf"
- "EsoUI/Common/Fonts/esocartographer-bold.otf"
- "EsoUI/Common/Fonts/fontin_sans_b.otf"
- "EsoUI/Common/Fonts/fontin_sans_i.otf"
- "EsoUI/Common/Fonts/fontin_sans_r.otf"
- "EsoUI/Common/Fonts/fontin_sans_sc.otf"
- "EsoUI/Common/Fonts/Handwritten_Bold.otf"
- "EsoUI/Common/Fonts/ProseAntiquePSMT.otf"
- "EsoUI/Common/Fonts/trajanpro-regular.otf"
- "EsoUI/Common/Fonts/univers55.otf"
- "EsoUI/Common/Fonts/univers57.otf"
- "EsoUI/Common/Fonts/univers67.otf"