Commit 9b774e282277f3f880e95928fb7bc82ebc26aea5

Werner Lemberg 2007-01-16T06:11:27

Remove trailing whitespace. From Alexei.

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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
diff --git a/ChangeLog b/ChangeLog
index 025ac8c..0c59975 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -174,7 +174,7 @@
 	(tt_size_init): Move most code into `tt_size_init_bytecode'.
 	(tt_size_done): Move most code into `tt_size_done_bytecode'.
 	(tt_size_reset): Move some code to `tt_size_ready_bytecode'.
-	
+
 
 	Don't extract the metrics table from the SFNT font file.  Instead,
 	reparse it on each glyph load.  The runtime difference is not
@@ -280,7 +280,7 @@
 	* src/gxvalid/gxvkern.c (gxv_kern_subtable_fmt0_pairs_validate): New
 	function.
 	Check uniqueness of the gid pairs.
-	(gxv_kern_subtable_fmt0_validate): Move some code to 
+	(gxv_kern_subtable_fmt0_validate): Move some code to
 	`gxv_kern_subtable_fmt0_pairs_validate'.
 
 2006-12-22  David Turner  <david@freetype.org>
@@ -298,7 +298,7 @@
 
 2006-12-15  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
-	* include/freetype/internal/services/svotval.h: Add `volatile' to 
+	* include/freetype/internal/services/svotval.h: Add `volatile' to
 	sync with the modification by Jens Claudius on 2006-08-22; cf.
 	  http://cvs.savannah.gnu.org/viewcvs/freetype/freetype2/src/otvalid/otvmod.c?r1=1.4&r2=1.5
 
diff --git a/builds/amiga/README b/builds/amiga/README
index bef27a8..2b8f8e8 100644
--- a/builds/amiga/README
+++ b/builds/amiga/README
@@ -56,7 +56,7 @@ directory.  The results are:
 
 - ftdebugpure.o, an object module containing the pure version of the
   debugging code which uses KVPrintf() from lib:debug.lib and no
-  exit().  For debugging of Amiga run-time shared system libraries. 
+  exit().  For debugging of Amiga run-time shared system libraries.
   Source code is in src/base/ftdebug.c.
 
 - NO ftinit.o.  Because linking with a link library should result in
diff --git a/builds/amiga/include/freetype/config/ftconfig.h b/builds/amiga/include/freetype/config/ftconfig.h
index 03ab700..c2c2ac8 100644
--- a/builds/amiga/include/freetype/config/ftconfig.h
+++ b/builds/amiga/include/freetype/config/ftconfig.h
@@ -40,7 +40,7 @@
 #endif
 #else
 /* We must define that, it seems that
- * lib/gcc-lib/ppc-morphos/2.95.3/include/syslimits.h is missing in 
+ * lib/gcc-lib/ppc-morphos/2.95.3/include/syslimits.h is missing in
  * ppc-morphos-gcc-2.95.3-bin.tgz (gcc for 68k producing MorphOS PPC elf
  * binaries from http://www.morphos.de)
  */
diff --git a/builds/amiga/src/base/ftsystem.c b/builds/amiga/src/base/ftsystem.c
index 725f78d..a9a3627 100644
--- a/builds/amiga/src/base/ftsystem.c
+++ b/builds/amiga/src/base/ftsystem.c
@@ -457,7 +457,7 @@ Free_VecPooled( APTR  poolHeader,
 
   extern void
   ft_mem_debug_done( FT_Memory  memory );
-  
+
 #endif
 
 
@@ -493,7 +493,7 @@ Free_VecPooled( APTR  poolHeader,
         memory->free    = ft_free;
 #ifdef FT_DEBUG_MEMORY
         ft_mem_debug_init( memory );
-#endif    
+#endif
       }
     }
 
@@ -508,7 +508,7 @@ Free_VecPooled( APTR  poolHeader,
   {
 #ifdef FT_DEBUG_MEMORY
     ft_mem_debug_done( memory );
-#endif  
+#endif
 
     DeletePool( memory->user );
     FreeVec( memory );
diff --git a/builds/atari/ATARI.H b/builds/atari/ATARI.H
index 4e99965..bb69138 100644
--- a/builds/atari/ATARI.H
+++ b/builds/atari/ATARI.H
@@ -6,8 +6,8 @@
 /* PureC doesn't like 32bit enumerations */
 
 #ifndef FT_IMAGE_TAG
-#define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value 
-#endif /* FT_IMAGE_TAG */ 
+#define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value
+#endif /* FT_IMAGE_TAG */
 
 #ifndef FT_ENC_TAG
 #define FT_ENC_TAG( value, a, b, c, d ) value
diff --git a/docs/CUSTOMIZE b/docs/CUSTOMIZE
index 0fe3f47..7d7d474 100644
--- a/docs/CUSTOMIZE
+++ b/docs/CUSTOMIZE
@@ -12,16 +12,16 @@ I. Configuration macros
   list  of  commented configuration  macros  that  can  be toggled  by
   developers  to  indicate  which  features  should  be  active  while
   building the library.
-  
+
   These  options range  from debug  level to  availability  of certain
   features,   like  native   TrueType  hinting   through   a  bytecode
   interpreter.
-  
+
   We  invite you  to read  this file  for more  information.   You can
   change the  file's content to suit  your needs, or  override it with
   one of the techniques described below.
 
-  
+
 II. Modules list
 
   If you  use GNU make  please edit the top-level  file `modules.cfg'.
@@ -43,7 +43,7 @@ III. System interface
   FreeType's  default interface to  the system  (i.e., the  parts that
   deal  with  memory  management   and  i/o  streams)  is  located  in
   `src/base/ftsystem.c'.
-  
+
   The current  implementation uses standard C library  calls to manage
   memory  and to read  font files.   It is  however possible  to write
   custom implementations to suit specific systems.
@@ -51,21 +51,21 @@ III. System interface
   To  tell the  GNU Make-based  build system  to use  a  custom system
   interface, you have to  define the environment variable FTSYS_SRC to
   point to the relevant implementation:
-  
+
     on Unix:
 
       ./configure <your options>
       export FTSYS_SRC=foo/my_ftsystem.c
       make
       make install
-   
+
     on Windows:
 
       make setup <compiler>
       set FTSYS_SRC=foo/my_ftsystem.c
       make
-     
-     
+
+
 IV. Overriding default configuration and module headers
 
   It  is possible  to override  the default  configuration  and module
@@ -84,10 +84,10 @@ IV. Overriding default configuration and module headers
 
 
   2. Using the C include path
-  
+
     Use the  C include path  to ensure that  your own versions  of the
     files are used at compile time when the lines
-    
+
       #include FT_CONFIG_OPTIONS_H
       #include FT_CONFIG_MODULES_H
 
@@ -100,7 +100,7 @@ IV. Overriding default configuration and module headers
           config/
             ftoption.h    => custom options header
             ftmodule.h    => custom modules list
-             
+
       include/            => normal FreeType 2 include
         freetype/
           ...
@@ -110,11 +110,11 @@ IV. Overriding default configuration and module headers
 
 
   3. Redefining FT_CONFIG_OPTIONS_H and FT_CONFIG_MODULES_H
-  
+
     Another way to do the same thing is to redefine the macros used to
     name  the configuration  headers.  To  do  so, you  need a  custom
     `ft2build.h' whose content can be as simple as:
-   
+
       #ifndef __FT2_BUILD_MY_PLATFORM_H__
       #define __FT2_BUILD_MY_PLATFORM_H__
 
@@ -124,9 +124,9 @@ IV. Overriding default configuration and module headers
       #include <freetype/config/ftheader.h>
 
       #endif /* __FT2_BUILD_MY_PLATFORM_H__ */
-   
+
     Place those files in a separate directory, e.g.,
-   
+
       custom/
         ft2build.h           => custom version described above
         my-ftoption.h        => custom options header
diff --git a/docs/DEBUG b/docs/DEBUG
index 4b0501a..1fccc21 100644
--- a/docs/DEBUG
+++ b/docs/DEBUG
@@ -78,7 +78,7 @@ its code:
 
 
   3. FT_TRACE( level, (message...) )
- 
+
     The  FT_TRACE  macro  is  used  to  send  general-purpose  debugging
     messages during  program execution.   This macro uses  an *implicit*
     macro named FT_COMPONENT used to name the current FreeType component
@@ -168,19 +168,19 @@ behaviour of FreeType at runtime.
     performed by FreeType.   This is very useful to  test the robustness
     of  the  font  engine and  programs  that  use  it in  tight  memory
     conditions.
-    
+
     If it is  undefined, or if its value is  not strictly positive, then
     no allocation bounds are checked at runtime.
 
 
   FT2_ALLOC_COUNT_MAX
-  
+
     This  variable is ignored  if FT2_DEBUG_MEMORY  is not  defined.  It
     allows  you  to  specify  a  maximum number  of  memory  allocations
     performed    by     FreeType    before    returning     the    error
     FT_Err_Out_Of_Memory.  This is useful  for debugging and testing the
     engine's robustness.
-    
+
     If it is  undefined, or if its value is  not strictly positive, then
     no allocation bounds are checked at runtime.
 
diff --git a/docs/FTL.TXT b/docs/FTL.TXT
index e874ba5..bbaba33 100644
--- a/docs/FTL.TXT
+++ b/docs/FTL.TXT
@@ -47,7 +47,7 @@ Introduction
   credit/disclaimer to use in compliance with this license.  We thus
   encourage you to use the following text:
 
-   """  
+   """
     Portions of this software are copyright © <year> The FreeType
     Project (www.freetype.org).  All rights reserved.
    """
diff --git a/docs/INSTALL b/docs/INSTALL
index 78f04c9..585c4db 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -22,12 +22,12 @@ I. Normal installation and upgrades
 
 
   3. On VMS with the `mms' build tool
-  
+
     See `INSTALL.VMS' for installation instructions on this platform.
 
 
   4. Other systems using GNU Make
-  
+
     On non-Unix platforms,  it is possible to build  the library using
     GNU Make  utility.  Note that  *NO OTHER MAKE TOOL  WILL WORK*[2]!
     This  methods supports  several  compilers on  Windows, OS/2,  and
@@ -37,18 +37,18 @@ I. Normal installation and upgrades
 
 
   5. With an IDE Project File (e.g., for Visual Studio or CodeWarrior)
-  
+
     We provide a  small number of `project files'  for various IDEs to
     automatically build  the library as  well.  Note that  these files
     are  not supported  and only  sporadically maintained  by FreeType
     developers, so don't expect them to work in each release.
-    
+
     To find them, have a  look at the content of the `builds/<system>'
     directory, where <system> stands for your OS or environment.
 
 
   6. From you own IDE, or own Makefiles
-  
+
     If  you  want  to  create   your  own  project  file,  follow  the
     instructions   given  in  the   `INSTALL.ANY'  document   of  this
     directory.
diff --git a/docs/INSTALL.ANY b/docs/INSTALL.ANY
index fd882cd..06f65d7 100644
--- a/docs/INSTALL.ANY
+++ b/docs/INSTALL.ANY
@@ -10,9 +10,9 @@ I. Standard procedure
 
   * DISABLE PRE-COMPILED  HEADERS!  This is very  important for Visual
     C++, because FreeType uses lines like:
-    
+
       #include FT_FREETYPE_H
-    
+
     which are not correctly supported by this compiler while being ISO
     C compliant!
 
diff --git a/docs/INSTALL.GNU b/docs/INSTALL.GNU
index d52f03a..6309f82 100644
--- a/docs/INSTALL.GNU
+++ b/docs/INSTALL.GNU
@@ -22,7 +22,7 @@ in the file INSTALL.UNIX instead.
 
     Note that  make++, a  make tool written  in Perl,  supports enough
     features of GNU make to compile FreeType.  See
-    
+
       http://makepp.sourceforge.net
 
     for more information; you need version 1.19 or newer, and you must
@@ -137,7 +137,7 @@ in the file INSTALL.UNIX instead.
 
 
   Final note
-  
+
     The build  system builds a  statically linked library of  the font
     engine in the  `objs' directory.  It does _not_  support the build
     of  DLLs on  Windows and  OS/2.  If  you need  these, you  have to
diff --git a/docs/UPGRADE.UNIX b/docs/UPGRADE.UNIX
index 23891b5..48c746d 100644
--- a/docs/UPGRADE.UNIX
+++ b/docs/UPGRADE.UNIX
@@ -11,7 +11,7 @@ SPECIAL NOTE FOR UNIX USERS
   -----------------------------------------------------
 
     See the instructions in the file `TRUETYPE' of this directory.
-   
+
     Note  that FreeType  supports  TrueType fonts  without the  bytecode
     interpreter through its  auto-hinter, which now generates relatively
     good results with most fonts.
diff --git a/include/freetype/ftbitmap.h b/include/freetype/ftbitmap.h
index 39b22c0..337d888 100644
--- a/include/freetype/ftbitmap.h
+++ b/include/freetype/ftbitmap.h
@@ -3,7 +3,7 @@
 /*  ftbitmap.h                                                             */
 /*                                                                         */
 /*    FreeType utility functions for converting 1bpp, 2bpp, 4bpp, and 8bpp */
-/*    bitmaps into 8bpp format (specification).                            */  
+/*    bitmaps into 8bpp format (specification).                            */
 /*                                                                         */
 /*  Copyright 2004, 2005, 2006 by                                          */
 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
diff --git a/include/freetype/ftgasp.h b/include/freetype/ftgasp.h
index 90c6426..97cd330 100644
--- a/include/freetype/ftgasp.h
+++ b/include/freetype/ftgasp.h
@@ -51,11 +51,11 @@
    *
    * @values:
    *   FT_GASP_NO_TABLE ::
-   *     This special value means that there is no GASP table in this face. 
+   *     This special value means that there is no GASP table in this face.
    *     It is up to the client to decide what to do.
    *
    *   FT_GASP_DO_GRIDFIT ::
-   *     Grid-fitting and hinting should be performed at the specified ppem. 
+   *     Grid-fitting and hinting should be performed at the specified ppem.
    *     This *really* means TrueType bytecode interpretation.
    *
    *   FT_GASP_DO_GRAY ::
diff --git a/include/freetype/ftincrem.h b/include/freetype/ftincrem.h
index d7f4427..9e1915f 100644
--- a/include/freetype/ftincrem.h
+++ b/include/freetype/ftincrem.h
@@ -229,11 +229,11 @@ FT_BEGIN_HEADER
    *
    * @struct:
    *   FT_Incremental_FuncsRec
-   * 
+   *
    * @description:
    *   A table of functions for accessing fonts that load data
    *   incrementally.  Used in @FT_Incremental_InterfaceRec.
-   * 
+   *
    * @fields:
    *   get_glyph_data ::
    *     The function to get glyph data.  Must not be null.
@@ -243,7 +243,7 @@ FT_BEGIN_HEADER
    *
    *   get_glyph_metrics ::
    *     The function to get glyph metrics.  May be null if the font does
-   *     not provide overriding glyph metrics. 
+   *     not provide overriding glyph metrics.
    */
   typedef struct  FT_Incremental_FuncsRec_
   {
@@ -293,7 +293,7 @@ FT_BEGIN_HEADER
   {
     const FT_Incremental_FuncsRec*  funcs;
     FT_Incremental                  object;
-  
+
   } FT_Incremental_InterfaceRec;
 
 
@@ -321,7 +321,7 @@ FT_BEGIN_HEADER
   */
 #define FT_PARAM_TAG_INCREMENTAL  FT_MAKE_TAG( 'i', 'n', 'c', 'r' )
 
- /* */  
+ /* */
 
 FT_END_HEADER
 
diff --git a/include/freetype/ftlcdfil.h b/include/freetype/ftlcdfil.h
index 5a6f0cf..9a61377 100644
--- a/include/freetype/ftlcdfil.h
+++ b/include/freetype/ftlcdfil.h
@@ -75,7 +75,7 @@ FT_BEGIN_HEADER
    *   FT_LCD_FILTER_LEGACY ::
    *     This filter corresponds to the original libXft color filter.  It
    *     provides high contrast output but can exhibit really bad color
-   *     fringes if glyphs are not extremely well hinted to the pixel grid. 
+   *     fringes if glyphs are not extremely well hinted to the pixel grid.
    *     In other words, it only works well if the TrueType bytecode
    *     interpreter is enabled *and* high-quality hinted fonts are used.
    *
diff --git a/include/freetype/ftotval.h b/include/freetype/ftotval.h
index 2bddc6b..7c488fd 100644
--- a/include/freetype/ftotval.h
+++ b/include/freetype/ftotval.h
@@ -154,10 +154,10 @@ FT_BEGIN_HEADER
   FT_EXPORT( FT_Error )
   FT_OpenType_Validate( FT_Face    face,
                         FT_UInt    validation_flags,
-                        FT_Bytes  *BASE_table, 
-                        FT_Bytes  *GDEF_table, 
-                        FT_Bytes  *GPOS_table, 
-                        FT_Bytes  *GSUB_table, 
+                        FT_Bytes  *BASE_table,
+                        FT_Bytes  *GDEF_table,
+                        FT_Bytes  *GPOS_table,
+                        FT_Bytes  *GSUB_table,
                         FT_Bytes  *JSTF_table );
 
   /* */
diff --git a/include/freetype/ftoutln.h b/include/freetype/ftoutln.h
index aa1085a..c35bb2e 100644
--- a/include/freetype/ftoutln.h
+++ b/include/freetype/ftoutln.h
@@ -442,13 +442,13 @@ FT_BEGIN_HEADER
   *
   * @enum:
   *   FT_Orientation
-  *  
+  *
   * @description:
   *   A list of values used to describe an outline's contour orientation.
   *
   *   The TrueType and Postscript specifications use different conventions
   *   to determine whether outline contours should be filled or unfilled.
-  *   
+  *
   * @values:
   *   FT_ORIENTATION_TRUETYPE ::
   *     According to the TrueType specification, clockwise contours must
@@ -480,7 +480,7 @@ FT_BEGIN_HEADER
     FT_ORIENTATION_FILL_RIGHT = FT_ORIENTATION_TRUETYPE,
     FT_ORIENTATION_FILL_LEFT  = FT_ORIENTATION_POSTSCRIPT,
     FT_ORIENTATION_NONE
-  
+
   } FT_Orientation;
 
 
@@ -488,7 +488,7 @@ FT_BEGIN_HEADER
   *
   * @function:
   *   FT_Outline_Get_Orientation
-  *  
+  *
   * @description:
   *   This function analyzes a glyph outline and tries to compute its
   *   fill orientation (see @FT_Orientation).  This is done by computing
diff --git a/include/freetype/ftwinfnt.h b/include/freetype/ftwinfnt.h
index 5849b00..a0063cc 100644
--- a/include/freetype/ftwinfnt.h
+++ b/include/freetype/ftwinfnt.h
@@ -64,7 +64,7 @@ FT_BEGIN_HEADER
    *
    * @values:
    *   FT_WinFNT_ID_DEFAULT ::
-   *     This is used for font enumeration and font creation as a 
+   *     This is used for font enumeration and font creation as a
    *     `don't care' value.  Valid font files don't contain this value.
    *     When querying for information about the character set of the font
    *     that is currently selected into a specified device context, this
@@ -95,7 +95,7 @@ FT_BEGIN_HEADER
    *       Windows have.  It is one of the OEM codepages from
    *
    *         http://www.microsoft.com/globaldev/reference/cphome.mspx,
-   *    
+   *
    *       and is used for the `DOS boxes', to support legacy applications.
    *       A German Windows version for example usually uses ANSI codepage
    *       1252 and OEM codepage 850.
@@ -130,10 +130,10 @@ FT_BEGIN_HEADER
    *
    *   FT_WinFNT_ID_CP1253 ::
    *     A superset of Greek ISO 8859-7 (with minor modifications).
-   *     
+   *
    *   FT_WinFNT_ID_CP1254 ::
    *     A superset of Turkish ISO 8859-9.
-   *     
+   *
    *   FT_WinFNT_ID_CP1255 ::
    *     A superset of Hebrew ISO 8859-8 (with some modifications).
    *
diff --git a/include/freetype/internal/services/svkern.h b/include/freetype/internal/services/svkern.h
index 169b36d..1488adf 100644
--- a/include/freetype/internal/services/svkern.h
+++ b/include/freetype/internal/services/svkern.h
@@ -36,12 +36,12 @@ FT_BEGIN_HEADER
 
   FT_DEFINE_SERVICE( Kerning )
   {
-    FT_Kerning_TrackGetFunc  get_track;  
+    FT_Kerning_TrackGetFunc  get_track;
   };
 
   /* */
 
- 
+
 FT_END_HEADER
 
 
diff --git a/include/freetype/internal/services/svttcmap.h b/include/freetype/internal/services/svttcmap.h
index f92fcd0..1ef96b4 100644
--- a/include/freetype/internal/services/svttcmap.h
+++ b/include/freetype/internal/services/svttcmap.h
@@ -18,11 +18,11 @@
 /*                                                                         */
 /***************************************************************************/
 
-/* Development of this service is support of 
+/* Development of this service is support of
    Information-technology Promotion Agency, Japan. */
 
 #ifndef __SVTTCMAP_H__
-#define __SVTTCMAP_H__ 
+#define __SVTTCMAP_H__
 
 #include FT_INTERNAL_SERVICE_H
 #include FT_TRUETYPE_TABLES_H
@@ -64,8 +64,8 @@ FT_BEGIN_HEADER
   FT_DEFINE_SERVICE( TTCMaps )
   {
     TT_CMap_Info_GetFunc  get_cmap_info;
-  }; 
-  
+  };
+
   /* */
 
 
diff --git a/include/freetype/internal/services/svxf86nm.h b/include/freetype/internal/services/svxf86nm.h
index 3a33abc..ca5d884 100644
--- a/include/freetype/internal/services/svxf86nm.h
+++ b/include/freetype/internal/services/svxf86nm.h
@@ -45,7 +45,7 @@ FT_BEGIN_HEADER
 
   /* */
 
- 
+
 FT_END_HEADER
 
 
diff --git a/include/freetype/internal/sfnt.h b/include/freetype/internal/sfnt.h
index b88607a..7e8f684 100644
--- a/include/freetype/internal/sfnt.h
+++ b/include/freetype/internal/sfnt.h
@@ -738,13 +738,13 @@ FT_BEGIN_HEADER
     /* the table directory                                 */
     TT_Load_Table_Func           load_font_dir;
     TT_Load_Metrics_Func         load_hmtx;
-    
+
     TT_Load_Table_Func           load_eblc;
     TT_Free_Table_Func           free_eblc;
-    
+
     TT_Set_SBit_Strike_Func      set_sbit_strike;
     TT_Load_Strike_Metrics_Func  load_strike_metrics;
-    
+
     TT_Get_Metrics_Func          get_metrics;
 
   } SFNT_Interface;
diff --git a/include/freetype/internal/t1types.h b/include/freetype/internal/t1types.h
index 3075571..047c6d5 100644
--- a/include/freetype/internal/t1types.h
+++ b/include/freetype/internal/t1types.h
@@ -203,7 +203,7 @@ FT_BEGIN_HEADER
 
 #ifdef FT_CONFIG_OPTION_OLD_INTERNALS
     PS_Unicodes     unicode_map;
-#endif    
+#endif
 
     /* support for Multiple Masters fonts */
     PS_Blend        blend;
diff --git a/include/freetype/tttables.h b/include/freetype/tttables.h
index 251d677..d6e690f 100644
--- a/include/freetype/tttables.h
+++ b/include/freetype/tttables.h
@@ -619,7 +619,7 @@ FT_BEGIN_HEADER
   *     to access the whole font file.  Otherwise, you can use one of the
   *     definitions found in the @FT_TRUETYPE_TAGS_H file, or forge a new
   *     one with @FT_MAKE_TAG.
-  *              
+  *
   *   offset ::
   *     The starting offset in the table (or file if tag == 0).
   *
@@ -630,7 +630,7 @@ FT_BEGIN_HEADER
   *
   * @inout:
   *   length ::
-  *     If the `length' parameter is NULL, then try to load the whole table. 
+  *     If the `length' parameter is NULL, then try to load the whole table.
   *     Return an error code if it fails.
   *
   *     Else, if `*length' is 0, exit immediately while returning the
diff --git a/src/base/ftapi.c b/src/base/ftapi.c
index 1ef3005..8914d1f 100644
--- a/src/base/ftapi.c
+++ b/src/base/ftapi.c
@@ -49,7 +49,7 @@
     FT_UNUSED( library );
 
     FT_Stream_OpenMemory( stream, base, size );
-  }                        
+  }
 
 
   FT_BASE_DEF( FT_Error )
@@ -57,7 +57,7 @@
                   FT_ULong   pos )
   {
     return FT_Stream_Seek( stream, pos );
-  }                  
+  }
 
 
   FT_BASE_DEF( FT_Error )
@@ -65,7 +65,7 @@
                   FT_Long    distance )
   {
     return FT_Stream_Skip( stream, distance );
-  }                  
+  }
 
 
   FT_BASE_DEF( FT_Error )
@@ -74,7 +74,7 @@
                   FT_ULong   count )
   {
     return FT_Stream_Read( stream, buffer, count );
-  }                  
+  }
 
 
   FT_BASE_DEF( FT_Error )
@@ -84,7 +84,7 @@
                      FT_ULong   count )
   {
     return FT_Stream_ReadAt( stream, pos, buffer, count );
-  }                    
+  }
 
 
   FT_BASE_DEF( FT_Error )
@@ -93,7 +93,7 @@
                     FT_Byte**  pbytes )
   {
     return FT_Stream_ExtractFrame( stream, count, pbytes );
-  }                    
+  }
 
 
   FT_BASE_DEF( void )
@@ -101,14 +101,14 @@
                     FT_Byte**  pbytes )
   {
     FT_Stream_ReleaseFrame( stream, pbytes );
-  }                    
+  }
 
   FT_BASE_DEF( FT_Error )
   FT_Access_Frame( FT_Stream  stream,
                    FT_ULong   count )
   {
     return FT_Stream_EnterFrame( stream, count );
-  }                   
+  }
 
 
   FT_BASE_DEF( void )
@@ -116,6 +116,6 @@
   {
     FT_Stream_ExitFrame( stream );
   }
-                   
+
 
 /* END */
diff --git a/src/base/ftmac.c b/src/base/ftmac.c
index 552ee83..ea47caa 100644
--- a/src/base/ftmac.c
+++ b/src/base/ftmac.c
@@ -6,7 +6,7 @@
 /*  Heavily modified by mpsuzuki, George Williams, and Sean McBride.       */
 /*                                                                         */
 /*  This file is for Mac OS X only; see builds/mac/ftoldmac.c for          */
-/*  classic platforms built by MPW.                                        */ 
+/*  classic platforms built by MPW.                                        */
 /*                                                                         */
 /*  Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006 by                   */
 /*  Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg.     */
diff --git a/src/base/ftmm.c b/src/base/ftmm.c
index 940f864..586d5e8 100644
--- a/src/base/ftmm.c
+++ b/src/base/ftmm.c
@@ -174,7 +174,7 @@
 
 
   /* documentation is in ftmm.h */
-  
+
   /* This is exactly the same as the previous function.  It exists for */
   /* orthogonality.                                                    */
 
diff --git a/src/bdf/README b/src/bdf/README
index d45e4fb..e3f2ae3 100644
--- a/src/bdf/README
+++ b/src/bdf/README
@@ -8,14 +8,14 @@ Introduction
 ************
 
 BDF (Bitmap Distribution Format) is a bitmap font format defined by Adobe,
-which is intended to be easily understood by both humans and computers. 
+which is intended to be easily understood by both humans and computers.
 This code implements a BDF driver for the FreeType library, following the
 Adobe Specification V 2.2.  The specification of the BDF font format is
 available from Adobe's web site:
 
   http://partners.adobe.com/asn/developer/PDFS/TN/5005.BDF_Spec.pdf
 
-Many good bitmap fonts in bdf format come with XFree86 (www.XFree86.org). 
+Many good bitmap fonts in bdf format come with XFree86 (www.XFree86.org).
 They do not define vertical metrics, because the X Consortium BDF
 specification has removed them.
 
@@ -40,13 +40,13 @@ client application the work of interpreting them.  For instance:
   FT_New_Face( library, ..., &face );
 
   bdfface = (BDF_Public_Face)face;
-  
-  if ( ( bdfface->charset_registry == "ISO10646" ) && 
+
+  if ( ( bdfface->charset_registry == "ISO10646" ) &&
        ( bdfface->charset_encoding == "1" )        )
     [..]
 
 
-Thus the driver always exports `ft_encoding_none' as face->charmap.encoding. 
+Thus the driver always exports `ft_encoding_none' as face->charmap.encoding.
 FT_Get_Char_Index's behavior is unmodified, that is, it converts the ULong
 value given as argument into the corresponding glyph number.
 
diff --git a/src/bdf/bdf.c b/src/bdf/bdf.c
index 9c82885..f95fb76 100644
--- a/src/bdf/bdf.c
+++ b/src/bdf/bdf.c
@@ -3,7 +3,7 @@
     FreeType font driver for bdf files
 
     Copyright (C) 2001, 2002 by
-    Francesco Zappa Nardelli 
+    Francesco Zappa Nardelli
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff --git a/src/bdf/bdf.h b/src/bdf/bdf.h
index b42baa6..1b64426 100644
--- a/src/bdf/bdf.h
+++ b/src/bdf/bdf.h
@@ -161,7 +161,7 @@ FT_BEGIN_HEADER
   {
     const char*  key;
     void*        data;
-  
+
   } _hashnode, *hashnode;
 
 
diff --git a/src/bdf/module.mk b/src/bdf/module.mk
index a978973..dfaa274 100644
--- a/src/bdf/module.mk
+++ b/src/bdf/module.mk
@@ -4,7 +4,7 @@
 
 # Copyright 2001, 2002, 2006 by
 # Francesco Zappa Nardelli
-# 
+#
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
 # in the Software without restriction, including without limitation the rights
diff --git a/src/cff/cffcmap.h b/src/cff/cffcmap.h
index f3d8e7a..3809b85 100644
--- a/src/cff/cffcmap.h
+++ b/src/cff/cffcmap.h
@@ -39,14 +39,14 @@ FT_BEGIN_HEADER
   {
     FT_CMapRec  cmap;
     FT_UShort*  gids;   /* up to 256 elements */
-    
+
   } CFF_CMapStdRec;
 
 
   FT_CALLBACK_TABLE const FT_CMap_ClassRec
   cff_cmap_encoding_class_rec;
 
-  
+
   /*************************************************************************/
   /*************************************************************************/
   /*****                                                               *****/
diff --git a/src/cff/cffload.c b/src/cff/cffload.c
index d88b4fd..b7a41a1 100644
--- a/src/cff/cffload.c
+++ b/src/cff/cffload.c
@@ -321,7 +321,7 @@
     FT_Memory  memory = stream->memory;
 
 
-    if ( idx->count > 0 && idx->offsets == NULL ) 
+    if ( idx->count > 0 && idx->offsets == NULL )
     {
       FT_Byte    offsize = idx->off_size;
       FT_ULong   data_size;
diff --git a/src/gxvalid/README b/src/gxvalid/README
index a370cfc..8f95414 100644
--- a/src/gxvalid/README
+++ b/src/gxvalid/README
@@ -439,7 +439,7 @@ gxvalid: TrueType GX validator
       dialect.  The classic Microsoft  dialect and the new Apple dialect
       are documented  by each vendors' TrueType  font specification, but
       the documentation for classic Apple dialect is not available.
-      
+
       For example,  in the  new Apple dialect,  bit 15 is  documented as
       `set to  1 if  the kerning  is vertical'.  On  the other  hand, in
       classic Microsoft dialect, bit 1 is documented as `set to 1 if the
@@ -487,7 +487,7 @@ gxvalid: TrueType GX validator
 
     We checked  59 fonts  bundled with MacOS  and 38 fonts  bundled with
     Windows, where all font include a `kern' table.
-    
+
       - fonts bundled with MacOS
         * new Apple dialect
           format 0: 18
diff --git a/src/gxvalid/gxvfgen.c b/src/gxvalid/gxvfgen.c
index 2af9a0d..a5416e5 100644
--- a/src/gxvalid/gxvfgen.c
+++ b/src/gxvalid/gxvfgen.c
@@ -465,7 +465,7 @@
       printf( "    {%1d, %1d, %1d, %2d},   /* %s */\n",
               feat_name ? 1 : 0,
               ( feat_name                                                  &&
-                ( ft_strncmp( feat_name, 
+                ( ft_strncmp( feat_name,
                               APPLE_RESERVED, APPLE_RESERVED_LENGTH ) == 0 )
               ) ? 1 : 0,
               featreg_table[i].exclusive ? 1 : 0,
diff --git a/src/gxvalid/gxvmort2.c b/src/gxvalid/gxvmort2.c
index 92ccf06..f19d15d 100644
--- a/src/gxvalid/gxvmort2.c
+++ b/src/gxvalid/gxvmort2.c
@@ -205,7 +205,7 @@
 
     setComponent = (FT_UShort)( ( flags >> 15 ) & 1 );
     dontAdvance  = (FT_UShort)( ( flags >> 14 ) & 1 );
-    
+
     offset = (FT_UShort)( flags & 0x3FFFU );
 
     if ( 0 < offset )
diff --git a/src/otvalid/otvmod.c b/src/otvalid/otvmod.c
index c1c2277..157272f 100644
--- a/src/otvalid/otvmod.c
+++ b/src/otvalid/otvmod.c
@@ -198,14 +198,14 @@
 
 
   static
-  const FT_Service_OTvalidateRec  otvalid_interface = 
+  const FT_Service_OTvalidateRec  otvalid_interface =
   {
     otv_validate
   };
 
 
   static
-  const FT_ServiceDescRec  otvalid_services[] = 
+  const FT_ServiceDescRec  otvalid_services[] =
   {
     { FT_SERVICE_ID_OPENTYPE_VALIDATE, &otvalid_interface },
     { NULL, NULL }
diff --git a/src/pcf/README b/src/pcf/README
index 0139041..2798d27 100644
--- a/src/pcf/README
+++ b/src/pcf/README
@@ -46,8 +46,8 @@ client application the work of interpreting them.  For instance:
   FT_New_Face( library,..., &face );
 
   pcfface = (PCF_Public_Face)face;
-  
-  if ((pcfface->charset_registry == "ISO10646") && 
+
+  if ((pcfface->charset_registry == "ISO10646") &&
         (pcfface->charset_encoding) == "1")) [..]
 
 Thus the driver always export `ft_encoding_none' as
diff --git a/src/pcf/module.mk b/src/pcf/module.mk
index 5bc7ce3..0c51cd6 100644
--- a/src/pcf/module.mk
+++ b/src/pcf/module.mk
@@ -4,7 +4,7 @@
 
 # Copyright 2000, 2006 by
 # Francesco Zappa Nardelli
-# 
+#
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
 # in the Software without restriction, including without limitation the rights
diff --git a/src/pcf/pcfread.c b/src/pcf/pcfread.c
index 4660426..12ff5b3 100644
--- a/src/pcf/pcfread.c
+++ b/src/pcf/pcfread.c
@@ -550,7 +550,7 @@ THE SOFTWARE.
     }
 
     error = PCF_Err_Ok;
-    
+
   Bail:
     FT_FREE( props );
     FT_FREE( strings );
@@ -1183,7 +1183,7 @@ THE SOFTWARE.
       else
         root->family_name = NULL;
 
-      /* 
+      /*
        * Note: We shift all glyph indices by +1 since we must
        * respect the convention that glyph 0 always corresponds
        * to the `missing glyph'.
diff --git a/src/pcf/pcfutil.c b/src/pcf/pcfutil.c
index 6b8abd8..67ddbe8 100644
--- a/src/pcf/pcfutil.c
+++ b/src/pcf/pcfutil.c
@@ -47,12 +47,12 @@ in this Software without prior written authorization from The Open Group.
     for ( ; --nbytes >= 0; buf++ )
     {
       unsigned int  val = *buf;
-      
+
 
       val = ( ( val >> 1 ) & 0x55 ) | ( ( val << 1 ) & 0xAA );
       val = ( ( val >> 2 ) & 0x33 ) | ( ( val << 2 ) & 0xCC );
       val = ( ( val >> 4 ) & 0x0F ) | ( ( val << 4 ) & 0xF0 );
-      
+
       *buf = (unsigned char)val;
     }
   }
diff --git a/src/pfr/pfrcmap.c b/src/pfr/pfrcmap.c
index de6c5a0..05fe68f 100644
--- a/src/pfr/pfrcmap.c
+++ b/src/pfr/pfrcmap.c
@@ -16,7 +16,7 @@
 /***************************************************************************/
 
 
-#include "pfrcmap.h" 
+#include "pfrcmap.h"
 #include "pfrobjs.h"
 #include FT_INTERNAL_DEBUG_H
 
@@ -29,12 +29,12 @@
 
     cmap->num_chars = face->phy_font.num_chars;
     cmap->chars     = face->phy_font.chars;
-    
+
     /* just for safety, check that the character entries are correctly */
     /* sorted in increasing character code order                       */
     {
       FT_UInt  n;
-      
+
 
       for ( n = 1; n < cmap->num_chars; n++ )
       {
@@ -42,7 +42,7 @@
           FT_ASSERT( 0 );
       }
     }
-    
+
     return 0;
   }
 
diff --git a/src/pfr/pfrcmap.h b/src/pfr/pfrcmap.h
index d77813e..a626953 100644
--- a/src/pfr/pfrcmap.h
+++ b/src/pfr/pfrcmap.h
@@ -31,7 +31,7 @@ FT_BEGIN_HEADER
     FT_CMapRec  cmap;
     FT_UInt     num_chars;
     PFR_Char    chars;
-  
+
   } PFR_CMapRec, *PFR_CMap;
 
 
diff --git a/src/pfr/pfrload.h b/src/pfr/pfrload.h
index 9e54b7d..ed01071 100644
--- a/src/pfr/pfrload.h
+++ b/src/pfr/pfrload.h
@@ -54,11 +54,11 @@ FT_BEGIN_HEADER
   {
     FT_UInt                  type;
     PFR_ExtraItem_ParseFunc  parser;
-  
+
   } PFR_ExtraItemRec;
-  
+
   typedef const struct PFR_ExtraItemRec_*  PFR_ExtraItem;
- 
+
 
   FT_LOCAL( FT_Error )
   pfr_extra_items_skip( FT_Byte*  *pp,
@@ -109,7 +109,7 @@ FT_BEGIN_HEADER
                      FT_Memory    memory );
 
   /* */
- 
+
 FT_END_HEADER
 
 #endif /* __PFRLOAD_H__ */
diff --git a/src/psaux/Jamfile b/src/psaux/Jamfile
index 07c653d..faeded9 100644
--- a/src/psaux/Jamfile
+++ b/src/psaux/Jamfile
@@ -17,7 +17,7 @@ SubDir  FT2_TOP $(FT2_SRC_DIR) psaux ;
   if $(FT2_MULTI)
   {
     _sources = psauxmod psobjs   t1decode t1cmap
-               psconv   afmparse 
+               psconv   afmparse
                ;
   }
   else
diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c
index 834cff9..3fb46af 100644
--- a/src/psaux/psobjs.c
+++ b/src/psaux/psobjs.c
@@ -588,7 +588,7 @@
                  "current token is `%c', which is self-delimiting "
                  "but invalid at this point\n",
                  *cur ));
-      
+
       error = PSaux_Err_Invalid_File_Format;
     }
 
@@ -1282,8 +1282,8 @@
   {
     FT_Error  error = PSaux_Err_Ok;
     FT_Byte*  cur;
-    
-    
+
+
     ps_parser_skip_spaces( parser );
     cur = parser->cursor;
 
diff --git a/src/sfnt/sfdriver.c b/src/sfnt/sfdriver.c
index 9f4bbcf..8709327 100644
--- a/src/sfnt/sfdriver.c
+++ b/src/sfnt/sfdriver.c
@@ -412,9 +412,9 @@
   {
     FT_UNUSED( face );
     FT_UNUSED( stream );
-    
+
     return FT_Err_Unimplemented_Feature;
-  }                          
+  }
 
 
   FT_CALLBACK_DEF( void )
@@ -449,8 +449,8 @@
 
     *astrike_index = 0x7FFFFFFFUL;
 
-    return tt_face_set_sbit_strike( face, &req, astrike_index );    
-  }                                
+    return tt_face_set_sbit_strike( face, &req, astrike_index );
+  }
 
 
   FT_CALLBACK_DEF( FT_Error )
@@ -459,15 +459,15 @@
   {
     FT_UNUSED( face );
     FT_UNUSED( stream );
-    
+
     /*
-     *  This function was originally implemented to load the sbit table. 
+     *  This function was originally implemented to load the sbit table.
      *  However, it has been replaced by `tt_face_load_eblc', and this stub
      *  is only there for some rogue clients which would want to call it
      *  directly (which doesn't make much sense).
      */
     return FT_Err_Unimplemented_Feature;
-  }                          
+  }
 
 
   FT_CALLBACK_DEF( void )
@@ -476,8 +476,8 @@
     /* nothing to do in this stub */
     FT_UNUSED( face );
   }
-  
-  
+
+
   FT_CALLBACK_DEF( FT_Error )
   tt_face_load_charmap_stub( TT_Face    face,
                              void*      cmap,
@@ -486,9 +486,9 @@
     FT_UNUSED( face );
     FT_UNUSED( cmap );
     FT_UNUSED( input );
-    
+
     return FT_Err_Unimplemented_Feature;
-  }                             
+  }
 
 
   FT_CALLBACK_DEF( FT_Error )
@@ -497,10 +497,10 @@
   {
     FT_UNUSED( face );
     FT_UNUSED( cmap );
-    
+
     return 0;
-  }                             
-  
+  }
+
 #endif /* FT_CONFIG_OPTION_OLD_INTERNALS */
 
 
@@ -600,7 +600,7 @@
     0,
     0,
     0,
-#endif    
+#endif
 
     tt_face_get_metrics
   };
diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c
index 20e8f3a..475fcf6 100644
--- a/src/sfnt/ttcmap.c
+++ b/src/sfnt/ttcmap.c
@@ -708,7 +708,7 @@
   tt_cmap4_next( TT_CMap4  cmap )
   {
     FT_UInt  charcode;
-    
+
 
     if ( cmap->cur_charcode >= 0xFFFFUL )
       goto Fail;
@@ -984,7 +984,7 @@
     for ( ; charcode <= 0xFFFFU; charcode++ )
     {
       FT_Byte*  q;
-      
+
 
       p = cmap->data + 14;               /* ends table   */
       q = cmap->data + 16 + num_segs2;   /* starts table */
@@ -1040,7 +1040,7 @@
     FT_UInt   charcode = *pcharcode;
     FT_UInt   gindex   = 0;
     FT_Byte*  p;
-    
+
 
     p = cmap->data + 6;
     num_segs2 = FT_PAD_FLOOR( TT_PEEK_USHORT( p ), 2 );
diff --git a/src/sfnt/ttsbit0.c b/src/sfnt/ttsbit0.c
index 38aeb66..edbfa10 100644
--- a/src/sfnt/ttsbit0.c
+++ b/src/sfnt/ttsbit0.c
@@ -183,7 +183,7 @@
                                FT_Size_Metrics*  metrics )
   {
     FT_Byte*         strike;
-    
+
 
     if ( strike_index >= (FT_ULong)face->sbit_num_strikes )
       return SFNT_Err_Invalid_Argument;
diff --git a/src/tools/cordic.py b/src/tools/cordic.py
index 1906b6b..3f80c5f 100644
--- a/src/tools/cordic.py
+++ b/src/tools/cordic.py
@@ -76,4 +76,4 @@ print "shrink factor    = " + repr( shrink )
 print "shrink factor 2  = " + repr( shrink * (2.0**32) )
 print "expansion factor = " + repr(1/shrink)
 print ""
-   
\ No newline at end of file
+
diff --git a/src/tools/docmaker/docbeauty.py b/src/tools/docmaker/docbeauty.py
index 94b266b..55c4329 100644
--- a/src/tools/docmaker/docbeauty.py
+++ b/src/tools/docmaker/docbeauty.py
@@ -28,15 +28,15 @@ def beautify_block( block ):
         for markup in markups:
             text.extend( markup.beautify( first ) )
             first = 0
-        
+
         # now beautify the documentation "borders" themselves
         lines = [ " /*************************************************************************" ]
         for l in text:
             lines.append( "  *" + l )
         lines.append( "  */" )
-        
+
         block.lines = lines
-        
+
 
 def usage():
     print "\nDocBeauty 0.1 Usage information\n"
@@ -46,7 +46,7 @@ def usage():
     print "  -b : backup original files with the 'orig' extension"
     print ""
     print "  --backup : same as -b"
-    
+
 
 def main( argv ):
     """main program loop"""
diff --git a/src/tools/docmaker/docmaker.py b/src/tools/docmaker/docmaker.py
index 9da4bbf..d34b6e8 100644
--- a/src/tools/docmaker/docmaker.py
+++ b/src/tools/docmaker/docmaker.py
@@ -36,7 +36,7 @@ def usage():
     print "  --title  : same as -t, as in '--title=\"My Project\"'"
     print "  --output : same as -o, as in '--output=mydir'"
     print "  --prefix : same as -p, as in '--prefix=ft2'"
-    
+
 
 def main( argv ):
     """main program loop"""
@@ -87,7 +87,7 @@ def main( argv ):
     for filename in file_list:
         source_processor.parse_file( filename )
         content_processor.parse_sources( source_processor )
-        
+
     # process sections
     content_processor.finish()
 
diff --git a/src/tools/docmaker/formatter.py b/src/tools/docmaker/formatter.py
index 63ecddc..eaa5d69 100644
--- a/src/tools/docmaker/formatter.py
+++ b/src/tools/docmaker/formatter.py
@@ -26,7 +26,7 @@ class Formatter:
         for section in self.sections:
             for block in section.blocks.values():
                 self.add_identifier( block.name, block )
-                    
+
                 # add enumeration values to the index, since this is useful
                 for markup in block.markups:
                     if markup.tag == 'values':
@@ -47,7 +47,7 @@ class Formatter:
                self.identifiers[ name ].location() + "\n" )
         else:
             self.identifiers[name] = block
-              
+
 
     #
     #  Formatting the table of contents
@@ -55,50 +55,50 @@ class Formatter:
 
     def  toc_enter( self ):
         pass
-    
+
     def  toc_chapter_enter( self, chapter ):
         pass
-    
+
     def  toc_section_enter( self, section ):
         pass
-        
+
     def  toc_section_exit( self, section ):
         pass
-        
+
     def  toc_chapter_exit( self, chapter ):
         pass
 
     def  toc_index( self, index_filename ):
         pass
-    
+
     def  toc_exit( self ):
         pass
 
     def  toc_dump( self, toc_filename = None, index_filename = None ):
-        
+
         output = None
         if toc_filename:
             output = open_output( toc_filename )
-        
+
         self.toc_enter()
-    
+
         for chap in self.processor.chapters:
-    
+
             self.toc_chapter_enter( chap )
-    
+
             for section in chap.sections:
                 self.toc_section_enter( section )
                 self.toc_section_exit( section )
-    
+
             self.toc_chapter_exit ( chap )
-    
+
         self.toc_index( index_filename )
-    
+
         self.toc_exit()
 
         if output:
             close_output( output )
-    
+
     #
     #  Formatting the index
     #
@@ -116,7 +116,7 @@ class Formatter:
         pass
 
     def  index_dump( self, index_filename = None ):
-        
+
         output = None
         if index_filename:
             output = open_output( index_filename )
@@ -128,31 +128,31 @@ class Formatter:
             self.index_name_exit ( name )
 
         self.index_exit()
-     
+
         if output:
             close_output( output )
-     
+
     #
     #  Formatting a section
     #
     def  section_enter( self, section ):
         pass
-    
+
     def  block_enter( self, block ):
         pass
-    
+
     def  markup_enter( self, markup, block = None ):
         pass
-    
+
     def  field_enter( self, field, markup = None, block = None ):
         pass
-        
+
     def  field_exit( self, field, markup = None, block = None ):
         pass
-    
+
     def  markup_exit( self, markup, block = None ):
         pass
-        
+
     def  block_exit( self, block ):
         pass
 
@@ -161,11 +161,11 @@ class Formatter:
 
 
     def  section_dump( self, section, section_filename = None ):
-        
+
         output = None
         if section_filename:
             output = open_output( section_filename )
-        
+
         self.section_enter( section )
 
         for name in section.block_names:
diff --git a/src/tools/docmaker/utils.py b/src/tools/docmaker/utils.py
index c3e9e27..a75bbc4 100644
--- a/src/tools/docmaker/utils.py
+++ b/src/tools/docmaker/utils.py
@@ -115,7 +115,7 @@ def make_file_list( args = None ):
                             # of the order of files
         else:
             newpath = [pathname]
-            
+
         file_list.extend( newpath )
 
     if len( file_list ) == 0:
@@ -123,6 +123,6 @@ def make_file_list( args = None ):
     else:
         # now filter the file list to remove non-existing ones
         file_list = filter( file_exists, file_list )
-    
+
     return file_list
 
diff --git a/src/tools/test_afm.c b/src/tools/test_afm.c
index 40764b9..d53cb33 100644
--- a/src/tools/test_afm.c
+++ b/src/tools/test_afm.c
@@ -52,7 +52,7 @@
     {
       AFM_KernPair  kp = fi->KernPairs + i;
 
-      
+
       printf( "\t%3d + %3d => (%4d, %4d)\n", kp->index1,
                                              kp->index2,
                                              kp->x,
diff --git a/src/truetype/ttgxvar.h b/src/truetype/ttgxvar.h
index e86c7ee..706cb4d 100644
--- a/src/truetype/ttgxvar.h
+++ b/src/truetype/ttgxvar.h
@@ -32,7 +32,7 @@ FT_BEGIN_HEADER
   /* <Struct>                                                              */
   /*    GX_AVarCorrespondenceRec                                           */
   /*                                                                       */
-  /* <Description>                                                         */  
+  /* <Description>                                                         */
   /*    A data structure representing `shortFracCorrespondence' in `avar'  */
   /*    table according to the specifications from Apple.                  */
   /*                                                                       */
@@ -94,7 +94,7 @@ FT_BEGIN_HEADER
 
     FT_UInt         gv_glyphcnt;
     FT_ULong*       glyphoffsets;
-    
+
   } GX_BlendRec;
 
 
diff --git a/src/type1/t1objs.h b/src/type1/t1objs.h
index ba258d2..e5e9029 100644
--- a/src/type1/t1objs.h
+++ b/src/type1/t1objs.h
@@ -152,7 +152,7 @@ FT_BEGIN_HEADER
 
   FT_LOCAL( FT_Error )
   T1_GlyphSlot_Init( T1_GlyphSlot  slot );
-  
+
   FT_LOCAL( void )
   T1_GlyphSlot_Done( T1_GlyphSlot  slot );
 
diff --git a/src/type1/t1parse.c b/src/type1/t1parse.c
index db1a613..1b252c7 100644
--- a/src/type1/t1parse.c
+++ b/src/type1/t1parse.c
@@ -105,18 +105,18 @@
 
     if ( FT_STREAM_SEEK( 0 ) )
       goto Exit;
-      
+
     error = read_pfb_tag( stream, &tag, &size );
     if ( error )
       goto Exit;
-      
+
     if ( tag != 0x8001U && FT_STREAM_SEEK( 0 ) )
       goto Exit;
-      
+
     if ( !FT_FRAME_ENTER( header_length ) )
     {
       error = 0;
-      
+
       if ( ft_memcmp( stream->cursor, header_string, header_length ) != 0 )
         error = T1_Err_Unknown_File_Format;