Remove trailing whitespace.

This commit is contained in:
Werner Lemberg 2013-01-24 13:33:06 +01:00
parent e9f330adf6
commit 4cd5fd463e
13 changed files with 18 additions and 18 deletions

View File

@ -55,7 +55,7 @@ compare_to_minimum_version ()
if test $MAJOR1 -lt $MAJOR2; then if test $MAJOR1 -lt $MAJOR2; then
echo 0 echo 0
return return
else else
if test $MAJOR1 -gt $MAJOR2; then if test $MAJOR1 -gt $MAJOR2; then
echo 1 echo 1
return return
@ -67,7 +67,7 @@ compare_to_minimum_version ()
if test $MINOR1 -lt $MINOR2; then if test $MINOR1 -lt $MINOR2; then
echo 0 echo 0
return return
else else
if test $MINOR1 -gt $MINOR2; then if test $MINOR1 -gt $MINOR2; then
echo 1 echo 1
return return

View File

@ -15,7 +15,7 @@ function shift( array, \
function init_cpp_src_line() function init_cpp_src_line()
{ {
logical_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++ ) for ( i = 0; i < asorti( break_pos, junk ) && break_pos[i] < pos ; i++ )
; ;
if ( break_pos[i] < 1 ) if ( break_pos[i] < 1 )
return; return;
part_str = substr( logical_line, pos, break_pos[i] - pos + 1 ) part_str = substr( logical_line, pos, break_pos[i] - pos + 1 )

View File

@ -53,7 +53,7 @@ L :=
# Target flag -- no trailing space. # Target flag -- no trailing space.
# #
T := -o T := -o
TE := -e TE := -e
# C flags # C flags

View File

@ -153,7 +153,7 @@ MAC --- PS TYPE_1 --- type1 T1_SPEC.pdf
for a specification given in Appendix D on pgs. 436-450. However, for a specification given in Appendix D on pgs. 436-450. However,
this information might be out of date; unfortunately, there is no 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 George Williams deduced the font format from the X11 sources and
documented it for his FontForge font editor: documented it for his FontForge font editor:

View File

@ -2434,7 +2434,7 @@ FT_BEGIN_HEADER
* *
* If the font is `tricky' (see @FT_FACE_FLAG_TRICKY for more), using * If the font is `tricky' (see @FT_FACE_FLAG_TRICKY for more), using
* FT_LOAD_NO_SCALE usually yields meaningless outlines because the * 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 * This can be solved by loading the font without FT_LOAD_NO_SCALE and
* setting the character size to `font->units_per_EM'. * setting the character size to `font->units_per_EM'.
* *

View File

@ -216,7 +216,7 @@ FT_BEGIN_HEADER
* U+1900 - U+194F // Limbu * U+1900 - U+194F // Limbu
* U+1B80 - U+1BBF // Sundanese * U+1B80 - U+1BBF // Sundanese
* U+1C80 - U+1CDF // Meetei Mayak * U+1C80 - U+1CDF // Meetei Mayak
* U+A800 - U+A82F // Syloti Nagri * U+A800 - U+A82F // Syloti Nagri
* U+11800 - U+118DF // Sharada * U+11800 - U+118DF // Sharada
* } * }
* *

View File

@ -157,7 +157,7 @@ FT_BEGIN_HEADER
/* /*
* Return the most significant bit index. * Return the most significant bit index.
*/ */
FT_BASE( FT_Int ) FT_BASE( FT_Int )
FT_MSB( FT_UInt32 z ); FT_MSB( FT_UInt32 z );

View File

@ -166,7 +166,7 @@
pic_container->default_module_classes = 0; 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 ) ) ) ( FT_NUM_MODULE_CLASSES + 1 ) ) )
return error; return error;

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType outline management (body). */ /* FreeType outline management (body). */
/* */ /* */
/* Copyright 1996-2008, 2010, 2012 by */ /* Copyright 1996-2008, 2010, 2012-2013 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -987,7 +987,7 @@
else else
shift.x = FT_MulDiv( shift.x, l, q ); shift.x = FT_MulDiv( shift.x, l, q );
if ( FT_MulFix( ystrength, q ) <= FT_MulFix( d, l ) ) if ( FT_MulFix( ystrength, q ) <= FT_MulFix( d, l ) )
shift.y = FT_MulDiv( shift.y, ystrength, d ); shift.y = FT_MulDiv( shift.y, ystrength, d );
else else
@ -1053,7 +1053,7 @@
for ( n = first; n <= last; n++ ) for ( n = first; n <= last; n++ )
{ {
v_cur = points[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_cur.x + v_prev.x ) >> xshift );
v_prev = v_cur; v_prev = v_cur;
} }

View File

@ -33,7 +33,7 @@ Encodings
Use `FT_Get_BDF_Charset_ID' to access the encoding and registry. 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 FT_Get_Char_Index() behavior is unmodified, that is, it converts the ULong
value given as argument into the corresponding glyph number. value given as argument into the corresponding glyph number.

View File

@ -1092,7 +1092,7 @@ typedef ptrdiff_t FT_PtrDist;
goto Split; goto Split;
/* Split super curvy segments where the off points are so far /* 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. */ acute as detected by appropriate dot products. */
if ( dx1 * ( dx1 - dx ) + dy1 * ( dy1 - dy ) > 0 || if ( dx1 * ( dx1 - dx ) + dy1 * ( dy1 - dy ) > 0 ||
dx2 * ( dx2 - dx ) + dy2 * ( dy2 - dy ) > 0 ) dx2 * ( dx2 - dx ) + dy2 * ( dy2 - dy ) > 0 )

View File

@ -549,7 +549,7 @@ class HtmlFormatter( Formatter ):
if block.source.filename.find( f ) >= 0: if block.source.filename.find( f ) >= 0:
header = self.headers[f] + ' (' + f + ')' header = self.headers[f] + ' (' + f + ')'
break; break;
# if not header: # if not header:
# sys.stderr.write( \ # sys.stderr.write( \
# 'WARNING: No header macro for ' + block.source.filename + '.\n' ) # 'WARNING: No header macro for ' + block.source.filename + '.\n' )

View File

@ -43,6 +43,6 @@ Arguments are:
--rasterize Call FT_Render_Glyph as well as loading it. --rasterize Call FT_Render_Glyph as well as loading it.
--result <dir> This is the directory in which test files are --result <dir> This is the directory in which test files are
placed. 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 Done in the current process so it can be debugged
more easily. more easily.