fontinst v1.914 patch 2 (Was: [Q] composed glyphs empty)

Lars Hellström Lars.Hellstrom@math.umu.se
Tue, 13 Mar 2001 16:47:48 +0100


At 11.28 +0100 2001-03-13, Han The Thanh wrote:
>Hi all,
>
>I have an afm with many CC entries for accented chars.
[snip]
>but in the result vpl file, all composed glyphs have the empty contain. Can
>someone please telll me what I am missing?

The reason for this turns out to be a bug in \setscalednotglyph. In your
case it was setting the glyph ohorntilde although it should have set
ohorntilde-not. Thus we have

%%%%%%%%%%%%%% fontinst v1.914 patch 2 %%%%%%%%%%%%
\def\setscalednotglyph#1#2#3#4#5#6#7#8#9{
   \if_undefined{g-#1-not}\then
      \eval_expr_to\a_count{#6}
      \eval_expr_to\b_count{#7}
      \eval_expr_to\c_count{#8}
      \eval_expr_to\d_count{#9}
      \ifisint{i-rawscale}\then
         \e_count=\int{rawscale}
         \multiply \a_count \e_count  \l_rounded_thousandths\a_count
         \multiply \b_count \e_count  \l_rounded_thousandths\b_count
         \multiply \c_count \e_count  \l_rounded_thousandths\c_count
         \multiply \d_count \e_count  \l_rounded_thousandths\d_count
      \fi
      \x_cs\edef{g-#1-not}{
         {\the\a_count}
         {\the\b_count}
         {\the\c_count}
         {\the\d_count}
         {}{}
      }
   \fi
}
%%%%%%%%%% End patch %%%%%%%%%%%%%%

As usual it is suitably pasted into the fontinst.rc file.

Lars Hellström