
Tengo dos .afm
archivos 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.vpl
un .vpl
archivo tiene datos de interletraje pero otro no.
Hay un par de archivos problemáticos:
Descubrí que afm2tfm
no escribe datos de kerning en .vpl
el archivo de dígitos. Y uno de mis .afm
archivos contiene kerning solo para dígitos, por lo que .vpl
el archivo derivado no contiene ningún dato de kerning.
¿Alguien sabe cómo es posible realizar transacciones de datos de kerning de .afm
a .vpl
dígitos?
Respuesta1
El archivo predeterminado t2a.enc
contiene
% 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 .afm
archivo. De hecho, si hago una copia local t2a.enc
y elimino las cinco líneas anteriores, ejecutándolas afm2tfm
como 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...]