summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2013-01-11 08:29:22 +0100
committerWerner Lemberg <wl@gnu.org>2013-01-11 08:29:22 +0100
commit53c0cb59ed2baa7de418a1e841529a8774be6fb2 (patch)
treed652711330a866acc7f819fffcc02f46be411d12
parentad9d5c972662b4cb890b7859a245a815fa9e6027 (diff)
downloadfreetype2-53c0cb59ed2baa7de418a1e841529a8774be6fb2.tar.gz
Typos, whitespace.
-rw-r--r--ChangeLog14
-rw-r--r--src/base/fttrigon.c4
2 files changed, 9 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 0bc00b9a4..57b8848bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,9 +2,9 @@
[base] Update the overflow protection bit.
- The recent optimizations of CORDIC iterations drastically reduce
- the expansion factor. The vector components with MSB of 29 are now
- safe from overflow.
+ The recent optimizations of CORDIC iterations drastically reduce the
+ expansion factor. Vector components with MSB of 29 are now safe
+ from overflow.
* src/base/fttrigon.c (FT_TRIG_SAFE_MSB): New macro.
(ft_trig_prenorm): Use it and remove dead code.
@@ -264,7 +264,7 @@
The dot product between freeVector and projVector or cosine of
the angle between these FT_F2Dot14 unit vectors used to be scaled up
by 4 and routinely occupied 32 bits in an FT_Long field F_dot_P.
- This patch scales the value down by 2^14 instead, which simplifies
+ This patch scales the value down by 2^14 instead, which simplifies
its use throughout the bytecode interpreter.
This does not lead to the loss of precision because the lower bits
@@ -277,7 +277,7 @@
Besides code simplification, this change can lead to better
performance when FT_MulDiv with the scaled-down F_dot_P is less
likely to use the costly 64-bit path. We are not changing the type
- of F_dot_P to FT_F2Dot14 at this point.
+ of F_dot_P to FT_F2Dot14 at this point.
* src/truetype/ttinterp.c (Compute_Funcs): Scale F_dot_P down by 14
bits and modify its use accordingly.
@@ -483,7 +483,7 @@
[truetype] Cheaper way to threshold angles between vectors.
* src/truetype/ttinterp.c (Ins_ISECT): Thresholding tangent is a lot
- cheaper than thresholding sine.
+ cheaper than thresholding sine.
2012-10-20 Werner Lemberg <wl@gnu.org>
@@ -5520,7 +5520,7 @@
----------------------------------------------------------------------------
-Copyright 2010-2012 by
+Copyright 2010-2013 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used, modified,
diff --git a/src/base/fttrigon.c b/src/base/fttrigon.c
index ad6bc7281..805360360 100644
--- a/src/base/fttrigon.c
+++ b/src/base/fttrigon.c
@@ -42,8 +42,8 @@
/* the Cordic shrink factor 0.858785336480436 * 2^32 */
#define FT_TRIG_SCALE 0xDBD95B16UL
- /* the highest bit in overflow-safe vectror components,
- MSB of 0.858785336480436 * sqrt(0.5) * 2^30 */
+ /* the highest bit in overflow-safe vector components, */
+ /* MSB of 0.858785336480436 * sqrt(0.5) * 2^30 */
#define FT_TRIG_SAFE_MSB 29
/* this table was generated for FT_PI = 180L << 16, i.e. degrees */