shithub: freetype+ttf2subf

Download patch

ref: 5704f0c984d403d7e004ce45d92609991b39342f
parent: 2f41b184beea139c96ed73162e851993c7c44edf
author: Werner Lemberg <[email protected]>
date: Wed May 9 16:57:45 EDT 2001

* include/freetype/internal/ftcalc.h: Move declaration of
FT_SqrtFixed() out of `#ifdef FT_LONG64'.

* src/base/ftcalc.c (FT_MulDiv, FT_MulFix, FT_DivFix): Various tiny
fixes related to rounding in 64-bits routines and
pseudo-"optimizations".

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-09  Werner Lemberg  <[email protected]>
+
+	* include/freetype/internal/ftcalc.h: Move declaration of
+	FT_SqrtFixed() out of `#ifdef FT_LONG64'.
+
 2001-05-08  Francesco Zappa Nardelli  <[email protected]>
 
 	* src/pcfdriver.c (PCF_Load_Glyph): Fixed incorrect bitmap width
@@ -10,8 +15,9 @@
 	line numbers reported during errors and warnings, and other
 	formatting issues.
 
-	* src/base/ftcalc.c: Carious tiny fixes related to rounding in
-	64-bits routines and pseudo"optimizations" :-)
+	* src/base/ftcalc.c (FT_MulDiv, FT_MulFix, FT_DivFix): Various tiny
+	fixes related to rounding in 64-bits routines and
+	pseudo-"optimizations".
 
 2001-04-27  David Turner  <[email protected]>
 
--- a/include/freetype/internal/ftcalc.h
+++ b/include/freetype/internal/ftcalc.h
@@ -146,8 +146,6 @@
                                        FT_Int32   y );
 
 
-  FT_EXPORT( FT_Int32 )  FT_SqrtFixed( FT_Int32  x );
-
 #ifdef FT_CONFIG_OPTION_OLD_CALCS
 
 #define SQRT_64( z )  FT_Sqrt64( &z )
@@ -174,6 +172,9 @@
 
 
 #endif /* FT_LONG64 */
+
+
+  FT_EXPORT( FT_Int32 )  FT_SqrtFixed( FT_Int32  x );
 
 
 #ifndef FT_CONFIG_OPTION_OLD_CALCS