summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2013-01-24 13:33:06 +0100
committerWerner Lemberg <wl@gnu.org>2013-01-24 13:33:06 +0100
commit4cd5fd463edd0055c5270a0e13c52983668ce078 (patch)
tree3d91e688898e4fa1e3b42261945ec1f5a1ce77e6
parente9f330adf6eddd1a70a3da33a585b55e0ecddd46 (diff)
downloadfreetype2-4cd5fd463edd0055c5270a0e13c52983668ce078.tar.gz
Remove trailing whitespace.
-rwxr-xr-xautogen.sh4
-rw-r--r--builds/atari/deflinejoiner.awk6
-rw-r--r--builds/compiler/bcc-dev.mk2
-rw-r--r--docs/formats.txt2
-rw-r--r--include/freetype/freetype.h2
-rw-r--r--include/freetype/ftautoh.h2
-rw-r--r--include/freetype/internal/ftcalc.h2
-rw-r--r--src/base/ftinit.c2
-rw-r--r--src/base/ftoutln.c6
-rw-r--r--src/pcf/README2
-rw-r--r--src/smooth/ftgrays.c2
-rw-r--r--src/tools/docmaker/tohtml.py2
-rw-r--r--src/tools/ftrandom/README2
13 files changed, 18 insertions, 18 deletions
diff --git a/autogen.sh b/autogen.sh
index 9f2fb6a3e..0eaba395b 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 c872a70d8..16d9e6dd9 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 63a46ad16..42a99b0c0 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 827c8947f..aed885c89 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 2d1ee714a..d35a3e4de 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 b427c4dd0..62ce96d43 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 49631b930..aca2dfdcf 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 0d8b568be..2eadfc6cb 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 e3456e7d4..76d3b7f1f 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 8858d68ca..10eff15fb 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 f0db12380..8a21df226 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 fffa12097..1cbda755b 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 c093f15e8..71bf05323 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.