freetype
[Top][All Lists]
Advanced

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

Re: [ft] Question about FT_Outline


From: Patrick Baggett
Subject: Re: [ft] Question about FT_Outline
Date: Sun, 6 Mar 2011 07:23:45 -0600



On Sun, Mar 6, 2011 at 12:11 AM, Werner LEMBERG <address@hidden> wrote:
>> Note that the sequence `on - conic -on' is invalid.

Uh, silly me.  I shouldn't answer emails if I'm too tired...  Of
course this is a valid sequence for conic curves (but not for cubic
ones), and as you've correctly written, the first point of an outline
is implicitly used as the end of a conic curve if the last point is a
conic control point.

> Still, this isn't mentioned at all on "FreeType Glyph Conventions"
> (http://freetype.sourceforge.net/freetype2/docs/glyphs/glyphs-6.html).

I would be glad if you could improve the wording of this (rather old
and effectively unmaintained) document.  Patches are highly welcomed!

Sure, no problem. How does one patch this exactly?
 

> I'm not using FT_Outline_Decompose() as I didn't know it existed.
> Would have saved some time I guess, but it is hard to find
> documentation/tutorials on how to handle outlines in FreeType.

Now that you know that this function exist, where would you have
expected a link to it?  Where should it mentioned that it exists?
 
Strictly speaking, a full explanation probably doesn't belong in the "Glyph Conventions" but instead perhaps some tutorial on how to use the outline information. Maybe just a brief mention that walking an outline manually isn't necessary and that FT_Outline_Decompose() can be used.

reply via email to

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