shithub: freetype+ttf2subf

Download patch

ref: 4cd5fd463edd0055c5270a0e13c52983668ce078
parent: e9f330adf6eddd1a70a3da33a585b55e0ecddd46
author: Werner Lemberg <[email protected]>
date: Thu Jan 24 08:33:06 EST 2013

Remove trailing whitespace.

git/fs: mount .git/fs: mount/attach disallowed
--- a/autogen.sh
+++ b/autogen.sh
@@ -55,7 +55,7 @@
   if test $MAJOR1 -lt $MAJOR2; then
     echo 0
     return
-  else 
+  else
     if test $MAJOR1 -gt $MAJOR2; then
       echo 1
       return
@@ -67,7 +67,7 @@
   if test $MINOR1 -lt $MINOR2; then
     echo 0
     return
-  else 
+  else
     if test $MINOR1 -gt $MINOR2; then
       echo 1
       return
--- a/builds/atari/deflinejoiner.awk
+++ b/builds/atari/deflinejoiner.awk
@@ -15,7 +15,7 @@
 function init_cpp_src_line()
 {
   logical_line = ""
-  delete break_pos 
+  delete break_pos
 }
 
 
@@ -110,8 +110,8 @@
 {
   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 )
--- a/builds/compiler/bcc-dev.mk
+++ b/builds/compiler/bcc-dev.mk
@@ -53,7 +53,7 @@
 # Target flag -- no trailing space.
 #
 T  := -o
-TE := -e 
+TE := -e
 
 
 # C flags
--- a/docs/formats.txt
+++ b/docs/formats.txt
@@ -153,7 +153,7 @@
 
     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:
 
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -2434,7 +2434,7 @@
    *
    *     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'.
    *
--- a/include/freetype/ftautoh.h
+++ b/include/freetype/ftautoh.h
@@ -216,7 +216,7 @@
    *       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
    *     }
    *
--- a/include/freetype/internal/ftcalc.h
+++ b/include/freetype/internal/ftcalc.h
@@ -157,7 +157,7 @@
 
   /*
    *  Return the most significant bit index.
-   */  
+   */
   FT_BASE( FT_Int )
   FT_MSB( FT_UInt32  z );
 
--- 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;
 
--- 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;
       }
--- a/src/pcf/README
+++ b/src/pcf/README
@@ -33,7 +33,7 @@
 
 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.
 
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -1092,7 +1092,7 @@
           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 )
--- a/src/tools/docmaker/tohtml.py
+++ b/src/tools/docmaker/tohtml.py
@@ -549,7 +549,7 @@
                 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' )
--- a/src/tools/ftrandom/README
+++ b/src/tools/ftrandom/README
@@ -43,6 +43,6 @@
   --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.