Hello David, find the previous contour point. if it is an ON point, this is the start of your bezier arc, if it is an CONIC point, then take the middle of both point, and use it as a "virtual" ON point in the contour
same goes in the other direction, find next contour point, if it is an ON point, this is the end of your bezier arc, if it is a CONIC point, take the middle and use it as a virtual ON point. for your information, some Japanese fonts have glyphs whose contours don't include a single ON point :o) - David On Thu, 6 Sep 2007 18:07:11 -0700, "Astle, David" <[EMAIL PROTECTED]> said: > I'm using FreeType to extract outline data from TrueType fonts to then > be rendered in OpenVG. I'm running into an issue where a few characters > in the font have a contour where either the start or end point is tagged > as FT_CURVE_TAG_CONIC, rather than FT_CURVE_TAG_ON (as is the case with > most characters). What is the proper handling of these cases? > _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
