forked from minhngoc25a/freetype2
* include/freetype/ftoutln.h: Correct FT_Outline_Get_Orientation
algorithm description.
This commit is contained in:
parent
3f542498b2
commit
52381c14e3
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue