Files
Jyotisha/docs/testing/serif-headings-checklist.md
T
Jesse_ChenandClaude Opus 5.5 6c421219a1 feat(ui): headings use self-hosted Jyotisha Serif SC, body stays sans (T2-T5)
- --font-display leads with "Jyotisha Serif SC", then exactly the body
  sans stack; no system 宋体 or generic serif (BUG-737 guards kept).
- serif-sc.css imported from site-styles.ts beside globals.css (root
  layout also serves admin); swap, no preload.
- Long-form report title (.personal-report-md-article h1) takes the
  heading face; deliberate sans headings pinned by a new contract test.
- font-stack-loadable-contract: loadable now includes self-hosted
  @font-face with existing files; "no CJK serif" replaced by
  "leads with Jyotisha Serif SC, never a system 宋体" (brief T3).
- DESIGN §3, BUG-737 note, CHANGELOG, device checklist, PROGRESS.

TASK-serif-headings-20260928 T2-T5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0199rbQDTsUbCVw84wc8BTFe
2026-09-28 19:48:43 +08:00

41 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 真机清单 · 标题改用宋体(2026-09-28)
对应 `TASK-serif-headings-20260928`。部署到 staging 后照做;每条写「通过 / 不通过 + 截图」。用自己的账号或虚构人物,不要截别人的出生资料。
要看的五处:
- 首页标题:左上品牌字「Jyotisha」、首页问候(如「下午好,某某」)。
- 回答小标题:普通咨询问一句「D10 事业盘怎么读」,回答里的加粗大小标题。
- 弹窗标题:设置弹窗、模型选择、星盘档案里的标题。
- 报告封面:「我的报告」打开一份报告,最上面的大标题和各章标题。
- 打印 PDF:报告页用浏览器「打印 → 存为 PDF」,看封面与章节标题。
判断标准(每台设备都一样):
1. 上面五处的中文标题是**有粗细变化、笔画饱满的宋体**;同一行里的英文、数字(如「D10」)也是宋体,不是一半宋体一半黑体。
2. 正文、按钮、输入框、表格、侧栏会话列表仍是黑体。
3. 生时校正的叙述小标题、报告里分盘卡片的小标题、后台管理仍是黑体(刻意如此)。
4. **没有细瘦发虚的 SimSun**(Windows 老式宋体:笔画很细、小字号发虚、横竖一样细)。
## 设备
| 设备 | 浏览器 | 1 | 2 | 3 | 4 | 打印 PDF |
| --- | --- | --- | --- | --- | --- | --- |
| iPhone | Safari | | | | | |
| Windows 电脑 | Chrome | | | | | |
| Windows 电脑 | Edge | | | | | |
| 安卓手机(至少一台国产机:华为 / 小米 / OPPO / vivo) | Chrome | | | | | |
## 弱网
5. 电脑 Chrome 打开开发者工具 → Network → 节流选「Slow 4G」,勾「Disable cache」,刷新首页:
- 标题**先以黑体出现**,一两秒后换成宋体;
- 任何时刻都**没有空白标题**(先看不见字、过一会儿字才出来 = 不通过);
- 页面其他部分不因字体等待而晚出现。
6. 同样条件打开一份报告:封面标题先黑体后宋体,正文一直可读。
7. Network 面板里筛选 `woff2`:看到的是若干个 `jyotisha-serif-sc-NN` 小文件(每个几十 KB),不是一个几 MB 的大文件;来自本站 `/_next/static/media/`,没有 `fonts.googleapis.com` / `fonts.gstatic.com`。
## 生僻字
8. 在普通咨询里让回答标题出现一个生僻字(例如问「『犇』字在星盘里有什么说法」),这个字用黑体显示、其余字是宋体;不出现方块或空白。