NerdFonts builds carry the Nerd Fonts 3.1 glyph set; icons added since 3.2 are missing

オープン
#412 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, shell
領域
tooling

調査の方向性

Start with the .glyphs sources and compare their codepoints against Nerd Fonts' glyphnames.json, using fontTools to inspect MonaspaceNeonNF-Regular.otf. The missing examples include nf-fa-meteor at U+EF23 and nf-fa-comment_dollar at U+EEC1. Done means the NerdFonts builds include the glyphs from the requested 3.5.x release and a codepoint check confirms the previously missing icons are present.

索引モデルが issue の本文から書いたものです。

説明

The NF fonts in v1.400 seem to carry the Nerd Fonts 3.1.x glyph set (November 2023). About 1,400 icons that Nerd Fonts added in 3.2.0 (April 2024) through 3.5.0 are missing, so they draw as boxes or question marks.

The biggest gap is the extended Font Awesome block at U+ED00 to U+EFCE, which Nerd Fonts added in 3.2.0. For example:

Codepoint Nerd Fonts name In Nerd Fonts since
U+EF23 nf-fa-meteor 3.2.0
U+EEC1 nf-fa-comment_dollar 3.2.0

How I checked

I compared the icon codepoints in MonaspaceNeonNF-Regular.otf (v1.400) with Nerd Fonts' glyphnames.json at each 3.x tag:

Nerd Fonts release Its icons missing from Monaspace NF Monaspace NF icons not in that release
3.0.0 2,098 106
3.1.1 31 33
3.2.0 868 (797 Font Awesome, 52 Codicons) 12
3.5.0 1,432 (805 Font Awesome, 410 Devicons, 154 Codicons) 12

3.1.x is the only release that fits both ways. Another hint: U+EE00 to U+EE05 are in the font. Nerd Fonts 3.1 used those codepoints for progress-bar glyphs, and 3.2 reassigned them to Font Awesome, the range where the font's glyphs stop.

To check one codepoint yourself, with fontTools:

python3 -c "from fontTools.ttLib import TTFont; print(0xEF23 in TTFont('MonaspaceNeonNF-Regular.otf').getBestCmap())"
# False

Request

Could the NerdFonts builds be refreshed from a current Nerd Fonts release (3.5.x)? I understand the glyphs are hand-placed in the .glyphs sources rather than patched, so this is more work than rerunning the patcher.

Environment

  • Monaspace version: v1.400 (Version 1.400 (Monaspace Neon NF))
  • Font: Monaspace Neon NF (static OTF, NerdFonts package)
  • Compared against: Nerd Fonts v3.0.0, v3.1.1, v3.2.0, v3.5.0
主要言語
Shell
スター
19.9k
フォーク
325
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

githubnext/monaspace のほかの issue

githubnext/monaspace の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。