Hi,

meanwhile I got my code working including the Bezier calculation
according to the meaning of the on/off flags within the outline.

Unfortunately my Bezier algorithm seems not to be the correct one, the
letters aren't round enough. Means I can see they are round but not as
strong as they should be. As an example the letter "b" isn't really
round but has some round edges instead.

My bezier algorithm works based on a Bernstein calculation and is
similar to the one from
http://www.codeproject.com/KB/recipes/BezirCurves.aspx?msg=3283253 .

So may be this ist the wrong Bezier calculation algorithm? Is there an
reference implementation available that uses the correct algorithm?

Elmi


On 5/12/11, Satz Klauer <[email protected]> wrote:
>> You probably misinterpret the point on/point off outline flags.
>
> Oh...these: http://www.freetype.org/freetype2/docs/glyphs/glyphs-6.html
>
> I did not stumble upon this until now...
>
> Thanks!
>
> Elmi
>
> PS: Are there some example implementations available that show how to
> create such beziers out of the given points?
>

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

Reply via email to