[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Getting Vectors from a TTF font
From: |
Frederic Kwiatkowski |
Subject: |
Re: [ft] Getting Vectors from a TTF font |
Date: |
Mon, 12 Jan 2009 14:29:46 +0100 |
> > In fact I use FT_Vector structure to approximate each char i want to
> > display in a short number of points. Then using these points to
> > display a simplified version of my char.
>
> This doesn't work in general.
Ok
> > But sometimes, points extract from the FT_Vector seems to be
> > erronous (ie some points are really out of the outline).
>
> Of course not! Before discussing this further, please read
>
> http://freetype.freedesktop.org/freetype2/docs/glyphs/glyphs-6.html
>
> so that you understand how outline points are stored.
So, if i've understand everything, the tags of each point will help me
to know if the point is on the outline, and if not, to solve the
Bezier's equation that will permit me to find points on the curve
Thanks for all, i'll try to find how make my char drawing finest