Triangulates a typeface.js mesh with poly2tri