* include/freetype/ftoutln.h: Correct FT_Outline_Get_Orientation

algorithm description.
This commit is contained in:
Alexei Podtelezhnikov 2013-09-11 23:25:56 -04:00
parent 3f542498b2
commit 52381c14e3
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2013-09-11 Alexei Podtelezhnikov <apodtele@gmail.com>
* include/freetype/ftoutln.h: Correct FT_Outline_Get_Orientation
algorithm description.
2013-09-11 Werner Lemberg <wl@gnu.org>
[autofit] Improve Hebrew rendering.

View File

@ -532,9 +532,11 @@ FT_BEGIN_HEADER
*
* @description:
* This function analyzes a glyph outline and tries to compute its
* fill orientation (see @FT_Orientation). This is done by computing
* the direction of each global horizontal and/or vertical extrema
* within the outline.
* fill orientation (see @FT_Orientation). This is done by integrating
* the total area covered by the outline. The positive integral
* corresponds to the clockwise orientation and @FT_ORIENTATION_POSTSCRIPT
* is returned. The negative integral corresponds to the counter-clockwise
* orientation and @FT_ORIENTATION_TRUETYPE is returned.
*
* Note that this will return @FT_ORIENTATION_TRUETYPE for empty
* outlines.