Vertical phantom points have the wrong sign

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

Los mantenedores suelen responder en 1 día

@lehni ya está trabajando en esto.

Desde el 26/10/2026.

  • #422 de @lehni — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript
Área
tooling

Línea de trabajo

The issue explains the sign error but names no source file or test font, and PR #422 is already open against it, so start by reading that PR and the code that builds vertical phantom points. Check the bottom phantom point against top minus advance height, including the gvar/vmtx-without-VVAR path. Done looks like a corrected sign plus a regression test, or a documented reason why no suitable test font could be added; the missing reproduction is the main newcomer blocker.

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

Descripción

  • fontkit puts the bottom phantom point at the top one plus the advance height, while the spec and HarfBuzz put it at the top minus the advance
  • In a variable font with gvar and vmtx but no VVAR, a gvar delta on the bottom phantom point then changes the vertical advance in the wrong direction
  • I haven't found a test font with this combination yet, so this has no reproduction file
Lenguaje dominante
JavaScript
Estrellas
1.7k
Forks
254
Merge medio
1 d 14 h
PR fusionados (30 d)
28

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 foliojs/fontkit

Todos los issues de foliojs/fontkit

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.