文字字体修改完善
parent
6506a48bad
commit
3b917f4c87
|
@ -28,7 +28,7 @@ local function createPanel(uiConfig, parent)
|
|||
for i = 0, textArr.Length-1 do
|
||||
local textStr=textArr[i].text
|
||||
textArr[i].text=GetLanguageStrById(textStr)
|
||||
if GetCurLanguage() == 2 then
|
||||
if GetCurLanguage() == 2 and (string.find(textArr[i].font.name,"kaiu",1) or string.find(textArr[i].font.name,"FZJinLS",1)) then
|
||||
textArr[i].font = Util.LoadFont()
|
||||
end
|
||||
end
|
||||
|
|
|
@ -596,7 +596,7 @@ function UIManager.CreatePanel(uiConfig, parent)
|
|||
for i = 0, textArr.Length-1 do
|
||||
local textStr=textArr[i].text
|
||||
textArr[i].text=GetLanguageStrById(textStr)
|
||||
if GetCurLanguage() == 2 then
|
||||
if GetCurLanguage() == 2 and (string.find(textArr[i].font.name,"kaiu",1) or string.find(textArr[i].font.name,"FZJinLS",1)) then
|
||||
textArr[i].font = Util.LoadFont()
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue