[Fontinst] ugly asterisk in typewriter fonts
Walter Schmidt
w-a-schmidt at arcor.de
Mon Feb 24 20:09:06 CET 2003
On Mon, 24 Feb 2003 16:15:34 +0100 (MEZ), Walter Schmidt wrote:
>First, the algorithm fails, if the height of the asterisk needs
>no fix at all; second, it does -- of course -- not really center
>the asterisk vertically. Any ideas?
Is there really no subroutine provided for vertical centering?
What about the following approach:
\resetint{vaxis}{%
\scale{\sub{\height{parenleft}}{\depth{parenleft}}}{500}}
\resetglyph{asterisk}
\moveup{\neg{%
\sub{\scale{\sub{\height{asterisk}}{\depth{asterisk}}}{500}}{\int{vaxis}}}}
\glyph{asterisk}{1000}
\resetdepth{0}
\endresetglyph
--
Walter
More information about the fontinst
mailing list