freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master 33b390a: Warping documentation updates.


From: Alexei Podtelezhnikov
Subject: [freetype2] master 33b390a: Warping documentation updates.
Date: Fri, 8 Sep 2017 21:35:43 -0400 (EDT)

branch: master
commit 33b390a63b99936c084a26eb789bd3bd6851fa83
Author: Alexei Podtelezhnikov <address@hidden>
Commit: Alexei Podtelezhnikov <address@hidden>

    Warping documentation updates.
---
 docs/CHANGES               |  2 ++
 include/freetype/ftautoh.h | 14 +++++++-------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/docs/CHANGES b/docs/CHANGES
index 9a62c9e..7f1c208 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -58,6 +58,8 @@ CHANGES BETWEEN 2.8 and 2.8.1
       Previously,  they failed with an assertion error if there was an
       empty bitmap between non-empty ones.
 
+    - Warping now works in `normal' hinting, replacing it.
+
 
 ======================================================================
 
diff --git a/include/freetype/ftautoh.h b/include/freetype/ftautoh.h
index abd540f..2bb675a 100644
--- a/include/freetype/ftautoh.h
+++ b/include/freetype/ftautoh.h
@@ -404,12 +404,12 @@ FT_BEGIN_HEADER
    *   activate the warp hinting code in the auto-hinter, this property
    *   switches warping on and off.
    *
-   *   Warping only works in `light' auto-hinting mode.  The idea of the
-   *   code is to slightly scale and shift a glyph along the non-hinted
-   *   dimension (which is usually the horizontal axis) so that as much of
-   *   its segments are aligned (more or less) to the grid.  To find out a
-   *   glyph's optimal scaling and shifting value, various parameter
-   *   combinations are tried and scored.
+   *   Warping only works in `normal' auto-hinting mode replacing it.
+   *   The idea of the code is to slightly scale and shift a glyph along
+   *   the non-hinted dimension (which is usually the horizontal axis) so
+   *   that as much of its segments are aligned (more or less) to the grid.
+   *   To find out a glyph's optimal scaling and shifting value, various
+   *   parameter combinations are tried and scored.
    *
    *   By default, warping is off.  The example below shows how to switch on
    *   warping (omitting the error handling).
@@ -437,7 +437,7 @@ FT_BEGIN_HEADER
    *
    *   Since warping is a global property of the auto-hinter it is best to
    *   change its value before rendering any face.  Otherwise, you should
-   *   reload all faces that get auto-hinted in `light' hinting mode.
+   *   reload all faces that get auto-hinted in `normal' hinting mode.
    *
    */
 



reply via email to

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