[Fontinst] ugly asterisk in typewriter fonts

LarsHellström Lars.Hellstrom at math.umu.se
Tue Feb 25 16:40:06 CET 2003

At 14.08 +0100 2003-02-25, Walter Schmidt wrote:
>On Mon, 24 Feb 2003 23:14:51 +0100, Lars Hellström wrote:
>>A \centeredglyph{<name>}{<axispos>} is simply a matter of
>>   \moveup{\sub{#2}{\div{\sub{\height{#1}}{\depth{#1}}}{2}}}
>>   \glyph{#1}{1000}
>>   \moveup{\sub{\div{\sub{\height{#1}}{\depth{#1}}}{2}}{#2}}
>I'm sorry, I do not quite understand how this is supposed
>to be used.  You mean, computing vaxis just like I did, and
> \resetglyph{asterisk}
>   \centeredglyph{asterisk}{vaxis}

Rather \centeredglyph{asterisk}{\int{vaxis}}. #2 becomes an argument of
\sub, so it would have to be an <integer expression>, would it not?

> \endresetglyph
>Further suggestions for the next fontinst release:

More on that later today.

>(1) change latin.mtx so that the asterisk is forced to be
>vertically centered in typewriter fonts

Yes, in view of your findings these asterisks probably need to be centered.

>(2) fix texcomp.mtx so that asteriskcentered gets actually
>centered; as I said, the present code does not work

Yes, there are some things to fix in that as well.

Lars Hellström

More information about the fontinst mailing list