summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2017-09-08 21:34:47 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2017-09-08 21:34:47 -0400
commit33b390a63b99936c084a26eb789bd3bd6851fa83 (patch)
treed6b345cae701e6cb0116b099007dd525667130ca
parent3ef59e59e0d59030b1a8949a7776e14b5ae91cc6 (diff)
downloadfreetype2-33b390a63b99936c084a26eb789bd3bd6851fa83.tar.gz
Warping documentation updates.
-rw-r--r--docs/CHANGES2
-rw-r--r--include/freetype/ftautoh.h14
2 files changed, 9 insertions, 7 deletions
diff --git a/docs/CHANGES b/docs/CHANGES
index 9a62c9e04..7f1c2088d 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 abd540f0b..2bb675ae4 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.
*
*/