IdreesInc / Monocraft

A monospaced programming font inspired by the Minecraft typeface
https://idreesinc.com
SIL Open Font License 1.1
8.02k stars 115 forks source link

.otf build has some characters with missing holes #110

Closed IdreesInc closed 1 year ago

IdreesInc commented 1 year ago

Describe the bug The .otf build shows characters like 8, o, and O with filled in holes. This does not show up in the .ttf build for some reason.

Screenshots

Screen Shot 2023-02-12 at 4 19 56 PM

Operating system MacOS

Dheatly23 commented 1 year ago

Oddly enough, this is not on windows though.

image

I think it's because of differences in how the renderer treats holes. I suspect if the winding of holes is reversed it would solve it. Another solution is to merge polygons whenever possible. The latter is still being developed in my fork.

PS: Just tested reversing windings, it does not affect .otf, but it broke .ttf. Maybe try it just to be sure.