forked from minhngoc25a/freetype2
Warping documentation updates.
This commit is contained in:
parent
3ef59e59e0
commit
33b390a63b
|
@ -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.
|
||||
|
||||
|
||||
======================================================================
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue