summaryrefslogtreecommitdiff
path: root/docs/evidence/p61-analysis.txt
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-29 04:58:29 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-29 04:58:29 +0800
commitfd40d78fd7506a95f0c5ad3295adfeb0a636e815 (patch)
treea948f264a7924e52d804d12735c66ed2cb529b6d /docs/evidence/p61-analysis.txt
parentf274ed8c920bbea383a4bf0e2ffe1219f7fe30b5 (diff)
downloadliving-village-fd40d78fd7506a95f0c5ad3295adfeb0a636e815.tar.gz
p61: G1 字形图集补齐 16 个 UI 用字(红→绿),中文界面完整
红:新增 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。
Diffstat (limited to 'docs/evidence/p61-analysis.txt')
-rw-r--r--docs/evidence/p61-analysis.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/evidence/p61-analysis.txt b/docs/evidence/p61-analysis.txt
new file mode 100644
index 0000000..2a70e16
--- /dev/null
+++ b/docs/evidence/p61-analysis.txt
@@ -0,0 +1,21 @@
+P61(G1 字形补齐)证据分析 — 真实 Desktop 实跑 xvfb 1280x720
+钩子:LV_P61_SHOT=1,2 帧:p61-calendar / p61-dialog-footer
+atlas_runtime_glyphs=323(修前 307,补 16 字)
+
+p61-calendar.png 1280x720 mean=83.8 std=25.8 max_dark_block=0
+p61-dialog-footer.png 1280x720 mean=80.2 std=29.1 max_dark_block=0
+check-no-white-blocks.py: failures=0
+
+日历第一行 '春 · 第1天' missing_glyph_slots=0
+日历第二行 '白天 12:00' missing_glyph_slots=0
+对话页脚 '第 1/3 页 空格 翻页 Esc 关闭' missing_glyph_slots=0
+对话选项 'B 买入 食物×1' missing_glyph_slots=0
+对话选项 'V 卖出 背包物品×1' missing_glyph_slots=0
+任务提示 '回车:接受任务' missing_glyph_slots=0
+
+缺字空白位 total=0
+黑块(24x24 fully opaque <=8) max=0
+log: p61-shot=p61-calendar tick=2592000 calendar=春 · 第1天 panel=world
+log: p61-shot=p61-dialog-footer tick=2592000 calendar=春 · 第1天 panel=dialogue
+
+verdict: 缺字空白位=0;黑块=0;白块=0。