On Wed, Feb 22, 2012 at 02:52:22PM -0500, Aditya Mahajan wrote:
Hi,
Using * in superscripts gives wrong glyph size and spacing.
For example, with LM math everyhing looks fine:
\starttext $x^*$ vs $x^{\ast}$ \stoptext
For me this is typeset using LM Type1 fonts, not the OpenType LM math font which explains why both are correct, after adding \setupbodyfont[modern] the first * is raised than the other but still readable.
With Cambria, the result is OK (but you can still see the differences in the spacing of * in x^*)
\usemodule[simplefonts] \setmathfont[Cambria] \starttext $x^*$ vs $x^{\ast}$ \stoptext
With Neo Euler, $x^*$ look really bad.
\usemodule[simplefonts] \setmathfont[Cambria] \starttext $x^*$ vs $x^{\ast}$ \stoptext
I cannot figure out why this is happening. It definitely looks like a bug at the context end rather than a bug with the fonts.
It seems that * in math mode should map to U+2217 (which is what \ast maps to) and not the ASCII asterisk. Regards, Khaled