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

Offen
#412 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
python, shell
Bereich
tooling

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
Shell
Sterne
19.9k
Forks
325
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus githubnext/monaspace

Alle Issues in githubnext/monaspace

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.