% to be put in fontinst.rc %%%%%%%%%%%% v1.914 patch 4 %%%%%%%%%%% \def\setscaledrawglyph#1#2#3#4#5#6#7#8#9{ \if_undefined{g-#1}\then \eval_expr{#4} \ifnum \result=\one_thousand \let\a_macro\identity_one \else \edef\a_macro##1{\saved_scale{\the\result}{##1}} \fi \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{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 \edef\a_macro##1{\saved_scale{\the\e_count}{\a_macro{##1}}} \fi \x_cs\edef{g-#1}{ {\the\a_count} {\the\b_count} {\the\c_count} {\the\d_count} {\a_macro{\saved_raw{#2}{#5}{#1}}} {\a_macro{\saved_mapfont{#2}{#3}}} } \fi } \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{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 v1.914 patch 4 %%%%%%%%%%%