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

Aperta
#412 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python, shell
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Shell
Stelle
19.9k
Fork
325
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di githubnext/monaspace

Tutte le issue di githubnext/monaspace

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.