From 33b390a63b99936c084a26eb789bd3bd6851fa83 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Fri, 8 Sep 2017 21:34:47 -0400 Subject: 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 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. * */ -- cgit v1.2.1