Zooming in on the dot, it looks like some of the curve handles are not tangent when they should be:
By removing some of the Math.floor calls here, we were able to make the dot round, and match Opentype's output.
Are those there to solve something else?
But how do we tell how it should actually look like? Did you try to render the dot in any other program, that is not Opentype.js or Typr.js ? I am not able to install your font on Windows 10 :(
Using American Typewriter (Light).ttf we noticed some subtle differences between Opentype.js (pink) and Typr (black).
Zooming in on the dot, it looks like some of the curve handles are not tangent when they should be:
By removing some of the
Math.floor
calls here, we were able to make the dot round, and match Opentype's output. Are those there to solve something else?https://github.com/photopea/Typr.js/blob/dad8e9deaf028e17f5f62428306c2a0c41b2cd88/src/Typr.U.js#L266
https://github.com/photopea/Typr.js/blob/dad8e9deaf028e17f5f62428306c2a0c41b2cd88/src/Typr.U.js#L274