[base] Fix 11-year old bug.
Since the initial commit (ebe85f59
) the value of FT_TRIG_SCALE has
always been slightly less than the correct value, which has been
given in the comment as a hexadecimal. As a result, vector lengths
were underestimated and rotated vectors were shortened.
This commit is contained in:
parent
7f2e4f4f55
commit
8ac5c5c8a5
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2012-12-15 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[base] Fix 11-year old bug.
|
||||
|
||||
Since the initial commit (ebe85f59) the value of FT_TRIG_SCALE has
|
||||
always been slightly less than the correct value, which has been
|
||||
given in the comment as a hexadecimal. As a result, vector lengths
|
||||
were underestimated and rotated vectors were shortened.
|
||||
|
||||
* src/base/fttrigon.c (FT_TRIG_SCALE): Fix macro value.
|
||||
|
||||
2012-12-15 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[bdf] Fix Savannah bug #37907.
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
};
|
||||
|
||||
/* the Cordic shrink factor, multiplied by 2^32 */
|
||||
#define FT_TRIG_SCALE 1166391785UL /* 0x4585BA38UL */
|
||||
#define FT_TRIG_SCALE 1166391864UL /* 0x4585BA38UL */
|
||||
|
||||
|
||||
#ifdef FT_LONG64
|
||||
|
|
Loading…
Reference in New Issue