diff options
Diffstat (limited to 'src/autofit/afhints.c')
-rw-r--r-- | src/autofit/afhints.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/autofit/afhints.c b/src/autofit/afhints.c index 6e5af1ecb..08b5daff1 100644 --- a/src/autofit/afhints.c +++ b/src/autofit/afhints.c @@ -1688,33 +1688,4 @@ } -#ifdef AF_CONFIG_OPTION_USE_WARPER - - /* Apply (small) warp scale and warp delta for given dimension. */ - - FT_LOCAL_DEF( void ) - af_glyph_hints_scale_dim( AF_GlyphHints hints, - AF_Dimension dim, - FT_Fixed scale, - FT_Pos delta ) - { - AF_Point points = hints->points; - AF_Point points_limit = points + hints->num_points; - AF_Point point; - - - if ( dim == AF_DIMENSION_HORZ ) - { - for ( point = points; point < points_limit; point++ ) - point->x = FT_MulFix( point->fx, scale ) + delta; - } - else - { - for ( point = points; point < points_limit; point++ ) - point->y = FT_MulFix( point->fy, scale ) + delta; - } - } - -#endif /* AF_CONFIG_OPTION_USE_WARPER */ - /* END */ |