summaryrefslogtreecommitdiff
path: root/src/LivingVillage.Desktop.Tests
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-21 22:55:53 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-21 22:55:53 +0800
commite1d8d45cf08b4f30e33299eb40e865729e7adfd2 (patch)
treead7c806040766885b8d6175bcbfb857121ad08c2 /src/LivingVillage.Desktop.Tests
parent0222501162d18447aa162e9c53e000bc42ccbbd9 (diff)
downloadliving-village-e1d8d45cf08b4f30e33299eb40e865729e7adfd2.tar.gz
fix(ui): P15 补齐职业/任务中文用字(CJK 图集 197->228),requiredUiLabels 锁定防复发
- CjkGlyphAtlas 字表 + Assets/cjk-glyphs.txt + cjk-glyph-atlas.png 重生成(384x360,15 行): 新增 职/业/收/货/转/事/论/理/粮/工/翻/土/捕/渔/询/送/帮/农/夫/郎/书/生/待/接/受/今/日/任/务/行/中 共 31 字,覆盖职业选择页与 T 面板全部模板/状态文案,消除方框缺字。 - ChineseText.requiredUiLabels 增职业/模板/状态标签,既有 FormalChineseUiLabelsUseTheRealGlyphAtlasBoundary 与 RequiredUiLabelsAreFullyCoveredByTheGlyphTable 继续强制全字形可渲染。 - PrototypeTests 几何常量同步 197->228、13->15 行、312->360 像素。Desktop 87 全绿。
Diffstat (limited to 'src/LivingVillage.Desktop.Tests')
-rw-r--r--src/LivingVillage.Desktop.Tests/PrototypeTests.fs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LivingVillage.Desktop.Tests/PrototypeTests.fs b/src/LivingVillage.Desktop.Tests/PrototypeTests.fs
index eeafb56..658e2e1 100644
--- a/src/LivingVillage.Desktop.Tests/PrototypeTests.fs
+++ b/src/LivingVillage.Desktop.Tests/PrototypeTests.fs
@@ -945,14 +945,14 @@ type PrototypeTests () =
[<TestMethod>]
member _.CjkGlyphAtlasHasAStableCharacterTableAndGeometry () =
- Assert.AreEqual<int>(197, characters.Length)
+ Assert.AreEqual<int>(228, characters.Length)
CollectionAssert.AreEqual(characters, characters |> Array.sort)
Assert.AreEqual<int>(characters.Length, characters |> Array.distinct |> Array.length)
Assert.AreEqual<int>(16, columns)
Assert.AreEqual<int>(24, cellPixels)
- Assert.AreEqual<int>(13, rowCount)
+ Assert.AreEqual<int>(15, rowCount)
Assert.AreEqual<int>(384, pixelWidth)
- Assert.AreEqual<int>(312, pixelHeight)
+ Assert.AreEqual<int>(360, pixelHeight)
Assert.AreEqual<string>("Assets/cjk-glyph-atlas.png", assetRelativePath)
Assert.AreEqual<string>("Assets/cjk-glyphs.txt", manifestRelativePath)