From 560343bd746e00898606cf756bdfe533a4823110 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Wed, 4 Nov 2026 12:41:25 -0600 Subject: [PATCH] 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 --- modules/gui.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/gui.lua b/modules/gui.lua index f470615c..29479150 100644 --- a/modules/gui.lua +++ b/modules/gui.lua @@ -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))