fontinst v1.910 patch 1

Lars Hellström Lars.Hellstrom@math.umu.se
Wed, 8 Dec 1999 12:14:33 -0500


As Rolf Lindgren noticed, reglyphing metrics generated from AFMs which have
CC commands in them doesn't work quite right. Adding the code below to your
fontinst.rc file will correct that bug. This applies to fontinst v1.9.

Lars Hellström

\def\reglyph_setglyph#1{
   \command_survivance=0
   \def\glyphname{#1}
   \csname slots-#1\endcsname
   \edef\a_macro{\noexpand\out_line{\string\setglyph{\glyphname}}}
   \a_toks=\expandafter{\a_macro}
}
\def\reglyph_glyphpcc#1#2#3{
   \def\glyphname{#1}
   \csname slots-#1\endcsname
   \edef\a_macro{\noexpand\out_lline{
      \string\glyphppc{\glyphname}{#2}{#3}
   }}
   \a_toks=\expandafter{\the\expandafter\a_toks \a_macro}
}
\def\reglyph_samesize#1{
   \def\glyphname{#1}
   \csname slots-#1\endcsname
   \edef\a_macro{\noexpand\out_lline{
      \string\samesize{\glyphname}
   }}
   \a_toks=\expandafter{\the\expandafter\a_toks \a_macro}
}