python / python/cpython

[DOC] PDF build has missing Unicode characters

未關閉
#124,526 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

docs type-bug
主要語言
Python
星號
77.2k
分支
36k
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 摘要。