env: force region font for koKR clients

This commit is contained in:
shagu
2017-04-22 22:47:26 +02:00
parent bca1ae7616
commit 6e7f34cff6
+6
View File
@@ -1,6 +1,8 @@
-- this must be set during the initial execution
if GetLocale() == "zhCN" then
STANDARD_TEXT_FONT = "Fonts\\FZXHLJW.TTF"
elseif GetLocale() == "koKR" then
STANDARD_TEXT_FONT = "Fonts\\2002.TTF"
else
STANDARD_TEXT_FONT = "Interface\\AddOns\\pfUI\\fonts\\Myriad-Pro.ttf"
end
@@ -22,6 +24,10 @@ function pfUI.environment:UpdateFonts()
pfUI.font_default = "Fonts\\FZXHLJW.TTF"
pfUI.font_combat = "Fonts\\FZXHLJW.TTF"
pfUI.font_square = "Fonts\\FZXHLJW.TTF"
elseif GetLocale() == "koKR" then
pfUI.font_default = "Fonts\\2002.TTF"
pfUI.font_combat = "Fonts\\2002.TTF"
pfUI.font_square = "Fonts\\2002.TTF"
end
end