Remove trailing whitespace.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
diff --git a/autogen.sh b/autogen.sh
index 9f2fb6a..0eaba39 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -55,7 +55,7 @@ compare_to_minimum_version ()
if test $MAJOR1 -lt $MAJOR2; then
echo 0
return
- else
+ else
if test $MAJOR1 -gt $MAJOR2; then
echo 1
return
@@ -67,7 +67,7 @@ compare_to_minimum_version ()
if test $MINOR1 -lt $MINOR2; then
echo 0
return
- else
+ else
if test $MINOR1 -gt $MINOR2; then
echo 1
return
diff --git a/builds/atari/deflinejoiner.awk b/builds/atari/deflinejoiner.awk
index c872a70..16d9e6d 100644
--- a/builds/atari/deflinejoiner.awk
+++ b/builds/atari/deflinejoiner.awk
@@ -15,7 +15,7 @@ function shift( array, \
function init_cpp_src_line()
{
logical_line = ""
- delete break_pos
+ delete break_pos
}
@@ -110,8 +110,8 @@ function shrink_spaces_to_linebreak( pos, \
{
for ( i = 0; i < asorti( break_pos, junk ) && break_pos[i] < pos ; i++ )
;
-
- if ( break_pos[i] < 1 )
+
+ if ( break_pos[i] < 1 )
return;
part_str = substr( logical_line, pos, break_pos[i] - pos + 1 )
diff --git a/builds/compiler/bcc-dev.mk b/builds/compiler/bcc-dev.mk
index 63a46ad..42a99b0 100644
--- a/builds/compiler/bcc-dev.mk
+++ b/builds/compiler/bcc-dev.mk
@@ -53,7 +53,7 @@ L :=
# Target flag -- no trailing space.
#
T := -o
-TE := -e
+TE := -e
# C flags
diff --git a/docs/formats.txt b/docs/formats.txt
index 827c894..aed885c 100644
--- a/docs/formats.txt
+++ b/docs/formats.txt
@@ -153,7 +153,7 @@ MAC --- PS TYPE_1 --- type1 T1_SPEC.pdf
for a specification given in Appendix D on pgs. 436-450. However,
this information might be out of date; unfortunately, there is no
- PCF specification available online, and this book is out of print.
+ PCF specification available online, and this book is out of print.
George Williams deduced the font format from the X11 sources and
documented it for his FontForge font editor:
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index 2d1ee71..d35a3e4 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -2434,7 +2434,7 @@ FT_BEGIN_HEADER
*
* If the font is `tricky' (see @FT_FACE_FLAG_TRICKY for more), using
* FT_LOAD_NO_SCALE usually yields meaningless outlines because the
- * subglyphs must be scaled and positioned with hinting instructions.
+ * subglyphs must be scaled and positioned with hinting instructions.
* This can be solved by loading the font without FT_LOAD_NO_SCALE and
* setting the character size to `font->units_per_EM'.
*
diff --git a/include/freetype/ftautoh.h b/include/freetype/ftautoh.h
index b427c4d..62ce96d 100644
--- a/include/freetype/ftautoh.h
+++ b/include/freetype/ftautoh.h
@@ -216,7 +216,7 @@ FT_BEGIN_HEADER
* U+1900 - U+194F // Limbu
* U+1B80 - U+1BBF // Sundanese
* U+1C80 - U+1CDF // Meetei Mayak
- * U+A800 - U+A82F // Syloti Nagri
+ * U+A800 - U+A82F // Syloti Nagri
* U+11800 - U+118DF // Sharada
* }
*
diff --git a/include/freetype/internal/ftcalc.h b/include/freetype/internal/ftcalc.h
index 49631b9..aca2dfd 100644
--- a/include/freetype/internal/ftcalc.h
+++ b/include/freetype/internal/ftcalc.h
@@ -157,7 +157,7 @@ FT_BEGIN_HEADER
/*
* Return the most significant bit index.
- */
+ */
FT_BASE( FT_Int )
FT_MSB( FT_UInt32 z );
diff --git a/src/base/ftinit.c b/src/base/ftinit.c
index 0d8b568..2eadfc6 100644
--- a/src/base/ftinit.c
+++ b/src/base/ftinit.c
@@ -166,7 +166,7 @@
pic_container->default_module_classes = 0;
- if ( FT_ALLOC( classes, sizeof ( FT_Module_Class* ) *
+ if ( FT_ALLOC( classes, sizeof ( FT_Module_Class* ) *
( FT_NUM_MODULE_CLASSES + 1 ) ) )
return error;
diff --git a/src/base/ftoutln.c b/src/base/ftoutln.c
index e3456e7..76d3b7f 100644
--- a/src/base/ftoutln.c
+++ b/src/base/ftoutln.c
@@ -4,7 +4,7 @@
/* */
/* FreeType outline management (body). */
/* */
-/* Copyright 1996-2008, 2010, 2012 by */
+/* Copyright 1996-2008, 2010, 2012-2013 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -987,7 +987,7 @@
else
shift.x = FT_MulDiv( shift.x, l, q );
-
+
if ( FT_MulFix( ystrength, q ) <= FT_MulFix( d, l ) )
shift.y = FT_MulDiv( shift.y, ystrength, d );
else
@@ -1053,7 +1053,7 @@
for ( n = first; n <= last; n++ )
{
v_cur = points[n];
- area += ( ( v_cur.y - v_prev.y ) >> yshift ) *
+ area += ( ( v_cur.y - v_prev.y ) >> yshift ) *
( ( v_cur.x + v_prev.x ) >> xshift );
v_prev = v_cur;
}
diff --git a/src/pcf/README b/src/pcf/README
index 8858d68..10eff15 100644
--- a/src/pcf/README
+++ b/src/pcf/README
@@ -33,7 +33,7 @@ Encodings
Use `FT_Get_BDF_Charset_ID' to access the encoding and registry.
-The driver always exports `ft_encoding_none' as face->charmap.encoding.
+The driver always exports `ft_encoding_none' as face->charmap.encoding.
FT_Get_Char_Index() behavior is unmodified, that is, it converts the ULong
value given as argument into the corresponding glyph number.
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index f0db123..8a21df2 100644
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -1092,7 +1092,7 @@ typedef ptrdiff_t FT_PtrDist;
goto Split;
/* Split super curvy segments where the off points are so far
- from the chord that the angles P0-P1-P3 or P0-P2-P3 become
+ from the chord that the angles P0-P1-P3 or P0-P2-P3 become
acute as detected by appropriate dot products. */
if ( dx1 * ( dx1 - dx ) + dy1 * ( dy1 - dy ) > 0 ||
dx2 * ( dx2 - dx ) + dy2 * ( dy2 - dy ) > 0 )
diff --git a/src/tools/docmaker/tohtml.py b/src/tools/docmaker/tohtml.py
index fffa120..1cbda75 100644
--- a/src/tools/docmaker/tohtml.py
+++ b/src/tools/docmaker/tohtml.py
@@ -549,7 +549,7 @@ class HtmlFormatter( Formatter ):
if block.source.filename.find( f ) >= 0:
header = self.headers[f] + ' (' + f + ')'
break;
-
+
# if not header:
# sys.stderr.write( \
# 'WARNING: No header macro for ' + block.source.filename + '.\n' )
diff --git a/src/tools/ftrandom/README b/src/tools/ftrandom/README
index c093f15..71bf053 100644
--- a/src/tools/ftrandom/README
+++ b/src/tools/ftrandom/README
@@ -43,6 +43,6 @@ Arguments are:
--rasterize Call FT_Render_Glyph as well as loading it.
--result <dir> This is the directory in which test files are
placed.
- --test <file> Run a single test on a pre-generated testcase.
+ --test <file> Run a single test on a pre-generated testcase.
Done in the current process so it can be debugged
more easily.