I'm making an opentype math font (FiraMath) for LaTeX and MS Word with FontForge. When creating the \oint
glyph, I use reference as the following iamge:
When using the generated otf fonts in LaTeX (actually is XeLaTeX), everything goes right (PDF reader is SumatraPDF):
But when using MS Word 2016, the intersection behavior is strange:
Could anyone explain what happened and show how to solve the problem?
GitHub issue link: https://github.com/Stone-Zeng/FiraMath/issues/6
As @be5invis points out in https://github.com/Stone-Zeng/FiraMath/issues/6,
Only TTF and CFF2 supports non-zero filling, which allows overlapping contours.
So my solution is simply merge the overlapping contours.