> I'm currently trying to extract vectors from TTF fonts with freetype
> (via outline.points[].x or outline.points[].y).  But the problem is
> that sometimes, those vectors give me ugly chars.  Is there any
> possibilty to extract more vectors from the TTF (to increase
> resolution) or must i use bitmap and get vectors by myself?

Vectors?  Most outlines consist of second-order or third-order Bézier
curves, not straight lines.  You can approximate those curves with
straight lines by applying bisection to the Bézier curve until a
certain threshold is reached.


    Werner


_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to