mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-05 10:16:55 +00:00
Fonts: offer Turtle's FZLBJW.TTF (Noto Sans SC) to every client for CJK text
Turtle WoW ships Noto Sans SC as Fonts\FZLBJW.TTF in patch-5.mpq to all clients, so enUS players can pick a font that renders Chinese names and chat. Fixes #79
This commit is contained in:
+5
-1
@@ -1244,11 +1244,15 @@ pfUI:RegisterModule("gui", function ()
|
||||
table.insert(pfUI.gui.dropdowns.fonts, "Fonts\\FRIZQT__.TTF:FRIZQT")
|
||||
table.insert(pfUI.gui.dropdowns.fonts, "Fonts\\FZBWJW.TTF:FZBWJW")
|
||||
table.insert(pfUI.gui.dropdowns.fonts, "Fonts\\FZJZJW.TTF:FZJZJW")
|
||||
table.insert(pfUI.gui.dropdowns.fonts, "Fonts\\FZLBJW.TTF:FZLBJW")
|
||||
table.insert(pfUI.gui.dropdowns.fonts, "Fonts\\FZXHJW.TTF:FZXHJW")
|
||||
table.insert(pfUI.gui.dropdowns.fonts, "Fonts\\FZXHLJW.TTF:FZXHLJW")
|
||||
end
|
||||
|
||||
-- Turtle WoW ships Noto Sans SC as FZLBJW.TTF to every client
|
||||
if TURTLE_WOW_VERSION then
|
||||
table.insert(pfUI.gui.dropdowns.fonts, "Fonts\\FZLBJW.TTF:Noto Sans SC")
|
||||
end
|
||||
|
||||
pfUI.gui.dropdowns.loot_rarity = {}
|
||||
for i=0, getn(_G.ITEM_QUALITY_COLORS)-2 do
|
||||
local entry = string.format("%d:%s", i, string.format("%s%s%s", _G.ITEM_QUALITY_COLORS[i].hex, _G[string.format("ITEM_QUALITY%d_DESC",i)], FONT_COLOR_CODE_CLOSE))
|
||||
|
||||
Reference in New Issue
Block a user