Commit 4cd5fd463edd0055c5270a0e13c52983668ce078

Werner Lemberg 2013-01-24T13:33:06

Remove trailing whitespace.

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.