Libertinus: Minus sign not aligned with fraction bar

Created on 19 Feb 2016  路  10Comments  路  Source: alerque/libertinus

At first: Thank you very much for your great work!

I think the minus sign is not correctly aligned with the fraction bar.
It is already visible in the supplied libertinus-testmath.pdf, but I created an example to make it clearer.

This also causes a problem with \xrightarrow etc.
On some zoom steps, every single minus sign is visible.

minus fraction bar

In XITS Math, they are almost perfectly aligned.
(The fraction bar is a tiny little bit lower, but \xrightarrow is perfect)

enhancement script math

Most helpful comment

All should be fixed now:
screenshot

All 10 comments

I noticed that bug too while running my MathFonts script on Libertine Math. This is a problem with the AxisHeight value.

I鈥檒l try to fix this, but abusing minus for extensible arrows is just a XeTeX limitation (inherited from TeX), the font already supports proper extensible arrows.

This not only affects the minus sign, but also plus and equality, and probably other operators, see for example:
+ and = also not aligned

I really do not want to be impolite, but could you have a look at this again?

For me it is the only issue that stops me from using Libertinus and I did not find any combination of regular, sans, mono and mathfont that looks comparably well.

Or is it worth a try to report this as a TeX bug or enhancement?

@khaledhosny So isn't the issue that the AxisHeight value from the MATH table does not match the middle of the + and - signs?

I鈥檓 wondering about this as well, and also wondering how it never occured to me before. Let me try and see.

I remember now. There are two issues here, the first one is axis height not aligned with +-=, and the other is arrow glyphs not aligned with the minus sign. The first is simple to fix, the second needs some work.

The minus should be aligned with the fraction bar now, but still not aligned with the arrows.

screenshot

All should be fixed now:
screenshot

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kauesena picture kauesena  路  6Comments

khaledhosny picture khaledhosny  路  3Comments

iandoug picture iandoug  路  8Comments

kopeckyf picture kopeckyf  路  6Comments

tukusejssirs picture tukusejssirs  路  5Comments