stipub / stixfonts

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

Square root alignment #183

Open xsrvmy opened 3 years ago

xsrvmy commented 3 years ago

I can't tell if this is an issue with unicode-math or the font, but I am getting an issue where \sqrt{2} is not properly aligned at the top, and so the start of the square root looks disconnected. I have checked by importing into inkscape, and indeed the right end of the square root sign is very slightly lower than the horizontal bar.

I'm not sure if this is a problem in print, but on some viewers this can cause the sqrt sign to disconnect. Interestingly my PDF viewer is actually showing the sqrt sign higher than the horizontal bar.

xsrvmy commented 3 years ago

Possible additional issue: square roots seem off balance because of the line in the sqrt glyph.

firai commented 3 years ago

Was this already fixed? I remember this being a problem with Word as well in a previous version, but it seems to look OK right now for both XeLaTeX and Word.

Sqrt 2 XeLaTeX STIX Two Math v2.12 b168a and XeLaTeX from TeX Live 2020, via Overleaf

Sqrt 2 Word STIX Two Math v2.12 b168a and Word 16 (a.k.a. Office 365)

tiroj commented 3 years ago

Thanks for retesting. I can’t find a log of fixing this—which is why I flagged it to review in v2.20—, but it is possible that I tweaked the glyph while working on other things for v2.10. Will check again in next round of work.

tiroj commented 2 years ago

I think this was previously fixed. Closing the issue for now, but will re-open for re-testing when v2.20 goes live.

tiroj commented 1 year ago

Updated sources and fonts delivered to STI Pub for testing. Issue reopened pending public release.