python / python/cpython

[DOC] PDF build has missing Unicode characters

未关闭
#124,526 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

docs type-bug
主要语言
Python
星标
77.2k
派生
35.9k
PR 合并指标
PR 指标待抓取

描述

Bug report

Bug description:

When compiling locally the PDFs (see https://github.com/python/docsbuild-scripts/issues/187#issuecomment-2373608230) for documentation a number of missing characters are reported.

howto-unicode.log:Missing character: There is no ♞ (U+265E) in font [FreeMono.otf]/OT:script=latn
howto-unicode.log:Missing character: There is no ♟ (U+265F) in font [FreeMono.otf]/OT:script=latn
howto-unicode.log:Missing character: There is no 😀 (U+1F600) in font [FreeMono.otf]/OT:script=lat
howto-unicode.log:Missing character: There is no 😉 (U+1F609) in font [FreeMono.otf]/OT:script=lat
library.log:Missing character: There is no ٤ (U+0664) in font [FreeMonoOblique.otf]/OT:scri
library.log:Missing character: There is no ௪ (U+0BEA) in font [FreeMonoOblique.otf]/OT:scri
library.log:Missing character: There is no ౪ (U+0C6A) in font [FreeMonoOblique.otf]/OT:scri
library.log:Missing character: There is no ໔ (U+0ED4) in font [FreeMonoOblique.otf]/OT:scri
tutorial.log:Missing character: There is no 景 (U+666F) in font [FreeMono.otf]/OT:script=latn
tutorial.log:Missing character: There is no 太 (U+592A) in font [FreeMono.otf]/OT:script=latn
tutorial.log:Missing character: There is no 郎 (U+90CE) in font [FreeMono.otf]/OT:script=latn

This means that the respective PDFs are missing the glyphs. The build was done using the French locale, but a previous build in English of the sole library.pdf reported a number of those already (those lines above from library.log).

CPython versions tested on:

3.13

Operating systems tested on:

macOS

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在法语和英语 locale 中重现 PDF 构建,并检查 howto-unicode.log、library.log 和 tutorial.log 中报告的缺失字形。完成的标准是受影响的 PDF 包含这些字符,并且构建不再报告相应的缺失字符消息。

由索引模型根据 Issue 内容生成。

评估

领域
build-system, documentation
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
32/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。