* include/freetype/internal/ftcalc.h (FLOAT_TO_FIXED): Remove.

This macro is not used.
This commit is contained in:
Werner Lemberg 2017-05-28 07:57:24 +02:00
parent 2e4188d833
commit 9d04fa7015
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2017-05-28 Werner Lemberg <wl@gnu.org>
* include/freetype/internal/ftcalc.h (FLOAT_TO_FIXED): Remove.
This macro is not used.
2017-05-28 Werner Lemberg <wl@gnu.org>
[cff] s/cf2_floatToFixed/cf2_doubleToFixed/.

View File

@ -403,7 +403,6 @@ FT_BEGIN_HEADER
#define INT_TO_F2DOT14( x ) ( (FT_Long)(x) << 14 )
#define INT_TO_FIXED( x ) ( (FT_Long)(x) << 16 )
#define F2DOT14_TO_FIXED( x ) ( (FT_Long)(x) << 2 )
#define FLOAT_TO_FIXED( x ) ( (FT_Long)( x * 65536.0 ) )
#define FIXED_TO_INT( x ) ( FT_RoundFix( x ) >> 16 )
#define ROUND_F26DOT6( x ) ( x >= 0 ? ( ( (x) + 32 ) & -64 ) \