-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpfUI-MoreFonts.lua
23 lines (21 loc) · 1.31 KB
/
pfUI-MoreFonts.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local addonpath
local tocs = { "", "-master", "-tbc", "-wotlk" }
for _, name in pairs(tocs) do
local current = string.format("pfUI-MoreFonts%s", name)
local _, title = GetAddOnInfo(current)
if title then
addonpath = "Interface\\AddOns\\" .. current
break
end
end
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\Acme-Regular.ttf:Acme")
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\AlegreyaSansSC-Bold.ttf:AlegreyaSansSC")
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\Bangers-Regular.ttf:Bangers")
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\BarlowCondensed-Medium.ttf:BarlowCondensed")
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\BigNoodleTitlingOblique.ttf:BigNoodleTitlingOblique")
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\FjallaOne-Regular.ttf:FjallaOne")
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\FTY.ttf:FTY")
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\Kingthings Foundation.ttf:Kingthings")
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\PathwayGothicOne-Regular.ttf:PathwayGothicOne")
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\RoadRage-Regular.ttf:RoadRage")
table.insert(pfUI.gui.dropdowns.fonts, addonpath .. "\\fonts\\US101.ttf:US101")