YuanshengZhao / Garamond-Math

An OTF math font matching the EB Garamond.
SIL Open Font License 1.1
104 stars 6 forks source link

Different rendering between XeTeX, LuaTeX and MS Word #7

Open YuanshengZhao opened 5 years ago

YuanshengZhao commented 5 years ago

The rendering of the three engines are different (Currently, the font is optimized for and tested on XeTeX with unicode-math).

YuanshengZhao commented 5 years ago

There is two kinds of builds: Garamond-Math.otf(the position of script is controled by: upright->math kern; italic->italic correction) and Garamond-Math-Word.otf(the position of script is controled math kern only). For best rendition, use Garamond-Math.otf in *TeX; and Garamond-Math-Word.otf in MS Word / XeTeX

callegar commented 4 years ago

Kerning in LuaTeX is indeed rather problematic. Out of curiosity, is there any particular reason why it is different in XeLaTeX and LuaLaTeX? Other math fonts manage to score well in both.

YuanshengZhao commented 4 years ago

With the update of the engines, there have been large improvements in the rederning. I believe that for the latest version, both lua and xe have reasonable output.

The main reason for these problems, I think it is partly the result of the large italic angle and small x-height of the font, which can cause many problems in math environment where the metric and kerning is different from text.

YuanshengZhao commented 4 years ago

For the newest font and engine, the metric should be similar. Though there still some differences: