afm2tfm produce un archivo .vpl sin información de kerning

afm2tfm produce un archivo .vpl sin información de kerning

Tengo dos .afmarchivos de fuentes. Ambos fueron hechos con FontForge y ambos tienen tablas de kerning. Después de que los procesé, afm2tfm xxx.afm -T t2a.enc -v xxx.vplun .vplarchivo tiene datos de interletraje pero otro no.

Hay un par de archivos problemáticos:

gostai.afm gostai.vpl

Descubrí que afm2tfmno escribe datos de kerning en .vplel archivo de dígitos. Y uno de mis .afmarchivos contiene kerning solo para dígitos, por lo que .vplel archivo derivado no contiene ningún dato de kerning.

¿Alguien sabe cómo es posible realizar transacciones de datos de kerning de .afma .vpldígitos?

Respuesta1

El archivo predeterminado t2a.enccontiene

% LIGKERN one {} * ; * {} one ; two {} * ; * {} two ;
% LIGKERN three {} * ; * {} three ; four {} * ; * {} four ;
% LIGKERN five {} * ; * {} five ; six {} * ; * {} six ;
% LIGKERN seven {} * ; * {} seven ; eight {} * ; * {} eight ;
% LIGKERN nine {} * ; * {} nine ;

y estas instrucciones anulan los pares de interletraje en su .afmarchivo. De hecho, si hago una copia local t2a.ency elimino las cinco líneas anteriores, ejecutándolas afm2tfmcomo lo hiciste, obtengo

(LIGTABLE
   (LABEL O 47) (comment quoteright)
   (LIG O 47 O 21)
   (STOP)
   (LABEL O 54) (comment comma)
   (LIG O 54 O 275)
   (STOP)
   (LABEL C 0)
   (KRN C 0 R -69)
   (KRN C 1 R -61)
   (KRN C 2 R -66)
   (KRN C 3 R -78)
   (KRN C 4 R -50)
   (KRN C 5 R -49)
   (KRN C 6 R -38)
   (KRN C 7 R -122)
   (KRN C 8 R -49)
   (KRN C 9 R -63)
   (STOP)
   (LABEL C 1)
   (KRN C 0 R -35)
   (KRN C 1 R -21)
   (KRN C 2 R -20)
   (KRN C 3 R -33)
   (KRN C 4 R -10)
   (KRN C 7 R -45)
   (STOP)
   (LABEL C 2)
[...similar omitted lines...]

información relacionada