[v2.3] 字体设置修正 — latin/ea/cs全部走Liter(去中文fallback) #2

Closed
opened 2026-06-09 07:50:41 +00:00 by taolm · 0 comments
Owner

背景

皇上反馈"为什么输出的ppt字体还是liter样式?"——经诊断PPTX字体设置实际是 latin=Liter / ea=微软雅黑,导致打开时:

  • 西文字符显示Liter(正确)
  • 中文字符fallback到微软雅黑(错误)

诊断

对比中间版SAR-DB(基准),其字体设置为:

  • latin = Liter
  • ea = Liter(中文也走Liter)
  • cs = Liter

修正

  • 修改 set_font() 函数:删除原ea的微软雅黑fallback
  • 三个标签(latin/ea/cs)全部走Liter
  • 中文显示Liter字形(前提:系统已安装Liter字体)

验证

v2.2新PPTX实测:所有run都是 (与中间版完全一致)

关联

  • 中间版SAR-DB(基准)
  • 5月生产会v2.2 PPTX(已重新生成)
## 背景 皇上反馈"为什么输出的ppt字体还是liter样式?"——经诊断PPTX字体设置实际是 latin=Liter / ea=微软雅黑,导致打开时: - 西文字符显示Liter(正确) - 中文字符fallback到微软雅黑(错误) ## 诊断 对比中间版SAR-DB(基准),其字体设置为: - latin = Liter - ea = Liter(中文也走Liter) - cs = Liter ## 修正 - 修改 set_font() 函数:删除原ea的微软雅黑fallback - 三个标签(latin/ea/cs)全部走Liter - 中文显示Liter字形(前提:系统已安装Liter字体) ## 验证 v2.2新PPTX实测:所有run都是 (与中间版完全一致) ## 关联 - 中间版SAR-DB(基准) - 5月生产会v2.2 PPTX(已重新生成)
taolm closed this issue 2026-06-09 07:50:42 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: taolm/chec-ppt-style-spec#2
No description provided.