freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Outline not smooth?


From: Satz Klauer
Subject: Re: [ft] Outline not smooth?
Date: Sun, 15 May 2011 15:50:34 +0200

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 <address@hidden> 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?
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]