mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
fonts: use special fonts for zhCN tbc
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user