Skip to content

glyphの訳語を「グリフ」に統一しletterform→「字形」を用語集に追加#403

Merged
ultimatile merged 3 commits into
typst-jp:mainfrom
ultimatile:unify-glyph-translation
Jun 13, 2026
Merged

glyphの訳語を「グリフ」に統一しletterform→「字形」を用語集に追加#403
ultimatile merged 3 commits into
typst-jp:mainfrom
ultimatile:unify-glyph-translation

Conversation

@ultimatile

@ultimatile ultimatile commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Refs: #387

用語集はglyph→「グリフ」と定めていますが、既訳の4ファイルではglyph(s)を「字形」と訳していました。 これらを「グリフ」に統一し、「字形」はletterformの訳語として用語集に追加します。

変更内容

  • text/shift.rstext/deco.rstext/mod.rsmath/attach.rsの「字形」を「グリフ」に変更
  • 用語集にletterform→「字形」の行を追加
  • 用語集のglyph行に訳し分けの注記を追加

採用根拠

JIS Z 8125:2004(印刷用語―デジタル印刷)は「字形」の対応英語を"letter form"と定めており(00.01.03)、「グリフ」(00.01.02 glyph「個々のデザインの違いを除去した認知可能な抽象的図記号」)とは別項目として訳し分けています。 本変更はこの規格上の訳し分けに合わせるものです。

@ultimatile ultimatile changed the title docs: glyphの訳語を「グリフ」に統一しletterform→「字形」を用語集に追加 glyphの訳語を「グリフ」に統一しletterform→「字形」を用語集に追加 Jun 10, 2026

@kimushun1101 kimushun1101 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます。問題ないように思います。
コンフリクトを解消して進めてください。

用語集はglyph→「グリフ」と定めているが、既訳の4ファイルでは
glyph(s)が「字形」と訳されていたため「グリフ」に統一する。
「字形」はletterformの訳語として確保する。
JIS Z 8125:2004(印刷用語―デジタル印刷)は「字形」の対応英語を
"letter form"と定めており(00.01.03)、グリフ(00.01.02 glyph)とは
別項目として訳し分けている。これに準拠してletterform行を追加し、
glyph行にも訳し分けの注記を加える。
@ultimatile ultimatile force-pushed the unify-glyph-translation branch from 9168789 to 3fbe2a3 Compare June 12, 2026 12:17
@ultimatile

Copy link
Copy Markdown
Contributor Author

ありがとうございます、コンフリクト見逃してました...

@gomazarashi gomazarashi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ご対応ありがとうございます。変更内容を確認しました。

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

用語集の定義(glyph→「グリフ」)に合わせて既訳の用語を統一し、あわせて letterform→「字形」を用語集に追加することで、フォント関連用語の訳語整合性を改善するPRです。

Changes:

  • glyph(s) の訳語を既存ドキュメント(rustdoc)内で「字形」→「グリフ」に統一
  • 用語集に letterform | 字形 を追加し、glyph との差分(訳し分け)注記を追記
  • フォントメトリクスや装飾・数式要素の説明文言を新訳語に合わせて更新

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/glossary.md glyphの注記更新と、letterform→「字形」の追加で訳語の使い分けを明文化
crates/typst-library/src/text/shift.rs 下付き/上付きの説明で「字形」→「グリフ」に統一
crates/typst-library/src/text/mod.rs フォントメトリクス説明の「字形」→「グリフ」差し替え
crates/typst-library/src/text/deco.rs 下線/上線の衝突回避説明の「字形」→「グリフ」差し替え
crates/typst-library/src/math/attach.rs stretch要素の説明で「字形」→「グリフ」に統一

Comment thread crates/typst-library/src/text/shift.rs Outdated
Comment thread crates/typst-library/src/text/shift.rs Outdated
@ultimatile

Copy link
Copy Markdown
Contributor Author

crates/typst-library/src/text/smallcaps.rsにある既存の「OpenTypeフィーチャーのsmcp」パターンに合わせました。

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@ultimatile ultimatile merged commit fd46468 into typst-jp:main Jun 13, 2026
4 checks passed
@ultimatile ultimatile deleted the unify-glyph-translation branch June 13, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants