I'm looking for a method to convert a TTF glyph into a triangle mesh.
I've tried making my own font constructing my own indices and vertices but it didn't go well:
-- This is the A letter
setXYZWHL(0,0,0,3,5,0)
rect(0,0,0,1,4)
rect(2,0,0,1,4)
rect(1,2,0,1,1)
rect(1,4,0,1,1)
triangle(0,4,0, 1,4,0, 1,5,0)
triangle(3,4,0, 2,4,0, 2,5,0)
triangle(1,4,0, 1.5,4,0, 1,3.5,0)
triangle(2,4,0, 1.5,4,0, 2,3.5,0)
So I'm looking to convert free TTF fonts made by professionals into my own format instead.