gui: include original client gamefonts

This commit is contained in:
shagu
2017-06-24 20:26:57 +02:00
parent 352e5d357a
commit e8e5b72d96
+23
View File
@@ -581,6 +581,29 @@ pfUI:RegisterModule("gui", function ()
"Interface\\AddOns\\pfUI\\fonts\\PT-Sans-Narrow-Regular.ttf:PT-Sans-Narrow-Regular"
}
-- add locale dependent client fonts to the list
if GetLocale() == "enUS" or GetLocale() == "frFR" or GetLocale() == "deDE" or GetLocale() == "ruRU" then
table.insert(dropdown_selection_fonts, "Fonts\\ARIALN.TTF:ARIALN")
table.insert(dropdown_selection_fonts, "Fonts\\FRIZQT__.TTF:FRIZQT")
table.insert(dropdown_selection_fonts, "Fonts\\MORPHEUS.TTF:MORPHEUS")
table.insert(dropdown_selection_fonts, "Fonts\\SKURRI.TTF:SKURRI")
elseif GetLocale() == "koKR" then
table.insert(dropdown_selection_fonts, "Fonts\\ARIALN.TTF:ARIALN")
table.insert(dropdown_selection_fonts, "Fonts\\FRIZQT__.TTF:FRIZQT")
table.insert(dropdown_selection_fonts, "Fonts\\FZBWJW.TTF:FZBWJW")
table.insert(dropdown_selection_fonts, "Fonts\\FZJZJW.TTF:FZJZJW")
table.insert(dropdown_selection_fonts, "Fonts\\FZLBJW.TTF:FZLBJW")
table.insert(dropdown_selection_fonts, "Fonts\\FZXHJW.TTF:FZXHJW")
table.insert(dropdown_selection_fonts, "Fonts\\FZXHLJW.TTF:FZXHLJW")
elseif GetLocale() == "zhCN" then
table.insert(dropdown_selection_fonts, "Fonts\\2002.TTF:2002")
table.insert(dropdown_selection_fonts, "Fonts\\2002B.TTF:2002B")
table.insert(dropdown_selection_fonts, "Fonts\\ARIALN.TTF:ARIALN")
table.insert(dropdown_selection_fonts, "Fonts\\FRIZQT__.TTF:FRIZQT")
table.insert(dropdown_selection_fonts, "Fonts\\K_Damage.TTF:K_Damage")
table.insert(dropdown_selection_fonts, "Fonts\\K_Pagetext.TTF:K_Pagetext")
end
local dropdown_unitframes_text = {
"none:" .. T["Disable"],
"unit:" .. T["Unit String"],