stipub / stixfonts

OpenType Unicode fonts for Scientific, Technical, and Mathematical texts
SIL Open Font License 1.1
728 stars 41 forks source link

The advanced width of integrals is incorrect #49

Closed davidmjones closed 6 years ago

davidmjones commented 10 years ago

The STIX fonts are designed such that to place the scripts next to large operators (e.g. integrals) you first use the advance width of the glyph to place the subscript. Then to place the superscript, you move to the right by adding the italic correction.

However, according to Khaled Hosny (XeTeX) who knows that from Murray Sargent (Microsoft) the placement of scripts with the MATH table is in the other way around: you first place the superscript using the advance width and then place the subscript by substracting the italic correction.

A related problem is that STIX Word does not have any italic correction table.

See https://bugzilla.mozilla.org/show_bug.cgi?id=407059

Reported by: fred-wang

Original Ticket: stixfonts/tracking/49

davidmjones commented 10 years ago

This issue is targeted to be fixed in version 2.0.0 which is currently under development.

Original comment by: stipub

davidmjones commented 9 years ago

Be sure to fix the related issue

https://sourceforge.net/p/stixfonts/tracking/50/

too. Here is a testcase:

http://fred-wang.github.io/MathFonts/STIX/#largeop

However, the issue is not visible since Gecko currently has a hack to workaround STIX's bug...

Original comment by: fred-wang

davidmjones commented 7 years ago

Original comment by: stipub

davidmjones commented 7 years ago

We believe that this issue has been addressed in version 2.0.0.

Original comment by: stipub