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

Abierto
#412 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python, shell
Área
tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Shell
Estrellas
19.9k
Forks
325
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de githubnext/monaspace

Todos los issues de githubnext/monaspace

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.