shithub: freetype+ttf2subf

Download patch

ref: 09feefee1663ffc3395802b730c17912aa39a8f8
parent: dd27182038555f06844538c39cb700773dfe942f
author: David Turner <[email protected]>
date: Tue Dec 11 08:49:55 EST 2001

* src/base/fttrigon.c (FT_Cos): fixed a small bug that caused slightly
        improper results for FT_Cos and FT_Sin (example: FT_Sin(0) == -1 !!)

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,9 @@
         * INSTALL: updated the instructions to build shared libraries with
         Jam.. they were simply erroneous..
 
+        * src/base/fttrigon.c (FT_Cos): fixed a small bug that caused slightly
+        improper results for FT_Cos and FT_Sin (example: FT_Sin(0) == -1 !!)
+
 
 2001-12-11  Detlef W�rkner >[email protected]>
 
--- a/src/base/fttrigon.c
+++ b/src/base/fttrigon.c
@@ -292,7 +292,7 @@
     v.y = 0;
     ft_trig_pseudo_rotate( &v, angle );
 
-    return v.x >> 12;
+    return v.x/(1 << 12);
   }