ted
- Add font to X
- Add family-name font to xfonts.dir
bash> echo family-name >> ted-dir/afm/xfonts.dir
baxh> xlsfonts | grep -X-font-identification >>
ted-dir/afm/xfonts.dir
- Generate afm (ascii fonts metric) file
bash> cat - | pfaedit -script -
Open(truetype-font-file);
Generate("ted-dir/afm/family-name.afm","",1);
- Iteratively edit the glyph names in the afm file as necessary
- See ted-2.11-108.src.rpm:psGlyphs.c for recognized encoding
bash> ted 2> ted.log
([File/New] [File/Quit])
(For each complaint in ted.log about a glyphName[code] symbol.
change in family-name.afm,
C code : WX 0 : N symbol : B 0 0 0 0 ;
adjust the StartCharMetrics)