mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-21 20:00:48 +00:00
core: enable region fonts for unit_names
This commit is contained in:
@@ -124,16 +124,19 @@ function pfUI:UpdateFonts()
|
|||||||
default = "Fonts\\FZXHLJW.TTF"
|
default = "Fonts\\FZXHLJW.TTF"
|
||||||
combat = "Fonts\\FZXHLJW.TTF"
|
combat = "Fonts\\FZXHLJW.TTF"
|
||||||
unit = "Fonts\\FZXHLJW.TTF"
|
unit = "Fonts\\FZXHLJW.TTF"
|
||||||
|
unit_name = "Fonts\\FZXHLJW.TTF"
|
||||||
elseif pfUI_config.global.force_region == "1" and GetLocale() == "zhCN" and pfUI.expansion == "tbc" then
|
elseif pfUI_config.global.force_region == "1" and GetLocale() == "zhCN" and pfUI.expansion == "tbc" then
|
||||||
-- force locale compatible fonts
|
-- force locale compatible fonts
|
||||||
default = "Fonts\\ZYHei.ttf"
|
default = "Fonts\\ZYHei.ttf"
|
||||||
combat = "Fonts\\ZYKai_C.ttf"
|
combat = "Fonts\\ZYKai_C.ttf"
|
||||||
unit = "Fonts\\ZYKai_T.ttf"
|
unit = "Fonts\\ZYKai_T.ttf"
|
||||||
|
unit_name = "Fonts\\ZYHei.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"
|
||||||
combat = "Fonts\\2002.TTF"
|
combat = "Fonts\\2002.TTF"
|
||||||
unit = "Fonts\\2002.TTF"
|
unit = "Fonts\\2002.TTF"
|
||||||
|
unit_name = "Fonts\\2002.TTF"
|
||||||
else
|
else
|
||||||
-- use default entries
|
-- use default entries
|
||||||
default = pfUI.media[pfUI_config.global.font_default]
|
default = pfUI.media[pfUI_config.global.font_default]
|
||||||
|
|||||||
Reference in New Issue
Block a user