fonts: use special fonts for zhCN tbc

This commit is contained in:
shagu
2020-04-08 09:44:57 +02:00
parent b387c1d3e7
commit 6e2bcdac42
+6 -1
View File
@@ -126,11 +126,16 @@ function pfUI:UpdateFonts()
-- load font configuration
local default, unit, combat
if pfUI_config.global.force_region == "1" and GetLocale() == "zhCN" then
if pfUI_config.global.force_region == "1" and GetLocale() == "zhCN" and pfUI.expansion == "vanilla" then
-- force locale compatible fonts
default = "Fonts\\FZXHLJW.TTF"
combat = "Fonts\\FZXHLJW.TTF"
unit = "Fonts\\FZXHLJW.TTF"
elseif pfUI_config.global.force_region == "1" and GetLocale() == "zhCN" and pfUI.expansion == "tbc" then
-- force locale compatible fonts
default = "Fonts\\ZYHei.ttf"
combat = "Fonts\\ZYKai_C.ttf"
unit = "Fonts\\ZYKai_T.ttf"
elseif pfUI_config.global.force_region == "1" and GetLocale() == "koKR" then
-- force locale compatible fonts
default = "Fonts\\2002.TTF"