mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-22 20:10:50 +00:00
fonts: use special fonts for zhCN tbc
This commit is contained in:
@@ -126,11 +126,16 @@ function pfUI:UpdateFonts()
|
|||||||
|
|
||||||
-- load font configuration
|
-- load font configuration
|
||||||
local default, unit, combat
|
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
|
-- force locale compatible fonts
|
||||||
default = "Fonts\\FZXHLJW.TTF"
|
default = "Fonts\\FZXHLJW.TTF"
|
||||||
combat = "Fonts\\FZXHLJW.TTF"
|
combat = "Fonts\\FZXHLJW.TTF"
|
||||||
unit = "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
|
elseif pfUI_config.global.force_region == "1" and GetLocale() == "koKR" then
|
||||||
-- force locale compatible fonts
|
-- force locale compatible fonts
|
||||||
default = "Fonts\\2002.TTF"
|
default = "Fonts\\2002.TTF"
|
||||||
|
|||||||
Reference in New Issue
Block a user