From fd40d78fd7506a95f0c5ad3295adfeb0a636e815 Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Tue, 29 Sep 2026 04:58:29 +0800 Subject: p61: G1 字形图集补齐 16 个 UI 用字(红→绿),中文界面完整 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 红:新增 src/LivingVillage.Desktop.Tests/P61GlyphCoverageTests.fs——扫描 Desktop 源码 字符串字面量内的全部 CJK 字,断言 100% 在 CjkGlyphAtlas 内;并逐字钉 G1 缺的 16 字(冬包卷品夏料春玩秋第背车轴页香鱼)、requiredUiLabels、以及运行期文案 (日历「春·第1天」/页脚「第 1/3 页…翻页」/「V 卖出 背包物品×1」/鱼卷轴香料玩车回)。 实现前实测 3 失败:缺字形 16。 绿:向 CjkGlyphAtlas.characterTable 补入 16 字(保持有序、去重),同步 Assets/cjk-glyphs.txt,并跑 scripts/generate-cjk-glyph-atlas.sh 用既有 Noto Sans CJK 重生成预生成 PNG:384x504(16x21 格,+16 字),16 个新字格均有真实字体墨迹 (ink_px 148-233,非程序几何伪字形)。更新 PrototypeTests 的图集几何常量 (307→323、rowCount 20→21、pixelHeight 480→504)。 证据:LV_P61_SHOT=1 拍 2 帧(p61-calendar 右上日历「春 · 第1天」;p61-dialog-footer 真实 Interact 开对话,页脚「第 1/3 页…翻页」+ 选项「V 卖出 背包物品×1」)。 analyze(p61-analysis.txt):缺字空白位=0、黑块=0、白块=0/2;全部抽检文案 missing_glyph_slots=0。钩子为 Game.fs 纯追加(53 行,0 删除),未动 HUD 结构。 回归(p61-verification.txt):Desktop 308/308(+4 P61)+ Kernel 119/119; --performance-baseline ×3 digest 953775FAEB2F… 不变,determinism PASS。 未改 Kernel/Sim,未引外部素材(沿用既有 Noto 字体来源),未 push。 --- .../Assets/cjk-glyph-atlas.png | Bin 80906 -> 85104 bytes src/LivingVillage.Desktop/Assets/cjk-glyphs.txt | 16 ++++++++++++++++ 2 files changed, 16 insertions(+) (limited to 'src/LivingVillage.Desktop/Assets') diff --git a/src/LivingVillage.Desktop/Assets/cjk-glyph-atlas.png b/src/LivingVillage.Desktop/Assets/cjk-glyph-atlas.png index 25d317b..ed1bf37 100644 Binary files a/src/LivingVillage.Desktop/Assets/cjk-glyph-atlas.png and b/src/LivingVillage.Desktop/Assets/cjk-glyph-atlas.png differ diff --git a/src/LivingVillage.Desktop/Assets/cjk-glyphs.txt b/src/LivingVillage.Desktop/Assets/cjk-glyphs.txt index 1b9bf67..0191fc0 100644 --- a/src/LivingVillage.Desktop/Assets/cjk-glyphs.txt +++ b/src/LivingVillage.Desktop/Assets/cjk-glyphs.txt @@ -42,6 +42,7 @@ 册 再 农 +冬 准 几 出 @@ -56,9 +57,11 @@ 动 助 匀 +包 单 卖 南 +卷 原 去 友 @@ -69,6 +72,7 @@ 各 同 和 +品 回 围 圃 @@ -77,6 +81,7 @@ 坏 墙 备 +夏 多 夜 大 @@ -150,6 +155,7 @@ 效 敌 数 +料 新 方 无 @@ -159,6 +165,7 @@ 明 昏 易 +春 是 晓 晚 @@ -194,6 +201,7 @@ 照 物 状 +玩 理 瓦 生 @@ -209,11 +217,13 @@ 确 社 离 +秋 移 稳 空 竹 笑 +第 粮 精 系 @@ -232,6 +242,7 @@ 耕 聊 职 +背 能 自 范 @@ -264,7 +275,9 @@ 足 路 跳 +车 转 +轴 过 近 返 @@ -296,11 +309,14 @@ 零 需 面 +页 项 须 食 饥 饿 +香 +鱼 黄 黛 , -- cgit v1.2.3