Commit 12ae57d9929e36201fb1007721a7f8b50c7aa585

Werner Lemberg 2017-09-26T12:53:41

Copyright notices, formatting, whitespace, minor doc fixes.

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
diff --git a/include/freetype/ftpcfdrv.h b/include/freetype/ftpcfdrv.h
index c9d5ced..7f60299 100644
--- a/include/freetype/ftpcfdrv.h
+++ b/include/freetype/ftpcfdrv.h
@@ -69,7 +69,7 @@ FT_BEGIN_HEADER
    *   selecting `Fixed' in KDE or Gnome one gets results that appear rather
    *   random, the style changes often if one changes the size and one
    *   cannot select some fonts at all.  The improve this situation, the PCF
-   *   module prepends the foundry name (plus a space) to the family name. 
+   *   module prepends the foundry name (plus a space) to the family name.
    *   It also checks whether there are `wide' characters; all put together,
    *   family names like `Sony Fixed' or `Misc Fixed Wide' are constructed.
    *
diff --git a/include/freetype/ftt1drv.h b/include/freetype/ftt1drv.h
index 116b33b..e082f6b 100644
--- a/include/freetype/ftt1drv.h
+++ b/include/freetype/ftt1drv.h
@@ -4,7 +4,7 @@
 /*                                                                         */
 /*    FreeType API for controlling the Type 1 driver (specification only). */
 /*                                                                         */
-/*  Copyright 2013-2017 by                                                 */
+/*  Copyright 2017 by                                                      */
 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
 /*                                                                         */
 /*  This file is part of the FreeType project, and may only be used,       */
@@ -32,7 +32,6 @@
 FT_BEGIN_HEADER
 
 
-
   /**************************************************************************
    *
    * @property:
@@ -66,6 +65,10 @@ FT_BEGIN_HEADER
    *
    *   This property can be set via the `FREETYPE_PROPERTIES' environment
    *   variable (using values `adobe' or `freetype').
+   *
+   * @since:
+   *   2.8.2
+   *
    */
 
 
@@ -85,10 +88,14 @@ FT_BEGIN_HEADER
    *   FT_T1_HINTING_ADOBE ::
    *     Use the hinting engine contributed by Adobe.
    *
+   * @since:
+   *   2.8.2
+   *
    */
 #define FT_T1_HINTING_FREETYPE  0
 #define FT_T1_HINTING_ADOBE     1
 
+
   /**************************************************************************
    *
    * @constant:
diff --git a/include/freetype/ftttdrv.h b/include/freetype/ftttdrv.h
index 381eee7..f97c70a 100644
--- a/include/freetype/ftttdrv.h
+++ b/include/freetype/ftttdrv.h
@@ -155,7 +155,7 @@ FT_BEGIN_HEADER
    *
    *   Details on subpixel hinting and some of the necessary tweaks can be
    *   found in Greg Hitchcock's whitepaper at
-   *   `http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx'. 
+   *   `http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx'.
    *   Note that FreeType currently doesn't really `subpixel hint' (6x1, 6x2,
    *   or 6x5 supersampling) like discussed in the paper.  Depending on the
    *   chosen interpreter, it simply ignores instructions on vertical stems
@@ -216,7 +216,7 @@ FT_BEGIN_HEADER
    *   TT_INTERPRETER_VERSION_40 ::
    *     Version~40 corresponds to MS rasterizer v.2.1; it is roughly
    *     equivalent to the hinting provided by DirectWrite ClearType (as can
-   *     be found, for example, in Microsoft's Edge Browser on Windows~10). 
+   *     be found, for example, in Microsoft's Edge Browser on Windows~10).
    *     It is used in FreeType to select the `minimal' subpixel hinting
    *     code, a stripped-down and higher performance version of the
    *     `Infinality' code.
diff --git a/include/freetype/internal/cffotypes.h b/include/freetype/internal/cffotypes.h
index 570a92e..6fd1e1c 100644
--- a/include/freetype/internal/cffotypes.h
+++ b/include/freetype/internal/cffotypes.h
@@ -4,7 +4,14 @@
 /*                                                                         */
 /*    Basic OpenType/CFF object type definitions (specification).          */
 /*                                                                         */
-/*  Copyright notice here.                                                 */
+/*  Copyright 2017 by                                                      */
+/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
+/*                                                                         */
+/*  This file is part of the FreeType project, and may only be used,       */
+/*  modified, and distributed under the terms of the FreeType project      */
+/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
+/*  this file you indicate that you have read the license and              */
+/*  understand and accept it fully.                                        */
 /*                                                                         */
 /***************************************************************************/
 
@@ -54,11 +61,11 @@ FT_BEGIN_HEADER
   {
     FT_GlyphSlotRec  root;
 
-    FT_Bool          hint;
-    FT_Bool          scaled;
+    FT_Bool  hint;
+    FT_Bool  scaled;
 
-    FT_Fixed         x_scale;
-    FT_Fixed         y_scale;
+    FT_Fixed  x_scale;
+    FT_Fixed  y_scale;
 
   } CFF_GlyphSlotRec, *CFF_GlyphSlot;
 
@@ -87,7 +94,7 @@ FT_BEGIN_HEADER
   {
     FT_Fixed    xx, xy;     /* transformation matrix coefficients */
     FT_Fixed    yx, yy;
-    FT_F26Dot6  ox, oy;     /* offsets        */
+    FT_F26Dot6  ox, oy;     /* offsets                            */
 
   } CFF_Transform;
 
diff --git a/include/freetype/internal/ftserv.h b/include/freetype/internal/ftserv.h
index 23f2878..5d95ee5 100644
--- a/include/freetype/internal/ftserv.h
+++ b/include/freetype/internal/ftserv.h
@@ -815,26 +815,26 @@ FT_BEGIN_HEADER
     if ( FT_ALLOC( clazz, sizeof ( *clazz ) * 11 ) )                        \
       return error;                                                         \
                                                                             \
-    clazz[0].serv_id   = serv_id_1;                                         \
-    clazz[0].serv_data = serv_data_1;                                       \
-    clazz[1].serv_id   = serv_id_2;                                         \
-    clazz[1].serv_data = serv_data_2;                                       \
-    clazz[2].serv_id   = serv_id_3;                                         \
-    clazz[2].serv_data = serv_data_3;                                       \
-    clazz[3].serv_id   = serv_id_4;                                         \
-    clazz[3].serv_data = serv_data_4;                                       \
-    clazz[4].serv_id   = serv_id_5;                                         \
-    clazz[4].serv_data = serv_data_5;                                       \
-    clazz[5].serv_id   = serv_id_6;                                         \
-    clazz[5].serv_data = serv_data_6;                                       \
-    clazz[6].serv_id   = serv_id_7;                                         \
-    clazz[6].serv_data = serv_data_7;                                       \
-    clazz[7].serv_id   = serv_id_8;                                         \
-    clazz[7].serv_data = serv_data_8;                                       \
-    clazz[8].serv_id   = serv_id_9;                                         \
-    clazz[8].serv_data = serv_data_9;                                       \
-    clazz[9].serv_id   = serv_id_10;                                        \
-    clazz[9].serv_data = serv_data_10;                                      \
+    clazz[ 0].serv_id   = serv_id_1;                                        \
+    clazz[ 0].serv_data = serv_data_1;                                      \
+    clazz[ 1].serv_id   = serv_id_2;                                        \
+    clazz[ 1].serv_data = serv_data_2;                                      \
+    clazz[ 2].serv_id   = serv_id_3;                                        \
+    clazz[ 2].serv_data = serv_data_3;                                      \
+    clazz[ 3].serv_id   = serv_id_4;                                        \
+    clazz[ 3].serv_data = serv_data_4;                                      \
+    clazz[ 4].serv_id   = serv_id_5;                                        \
+    clazz[ 4].serv_data = serv_data_5;                                      \
+    clazz[ 5].serv_id   = serv_id_6;                                        \
+    clazz[ 5].serv_data = serv_data_6;                                      \
+    clazz[ 6].serv_id   = serv_id_7;                                        \
+    clazz[ 6].serv_data = serv_data_7;                                      \
+    clazz[ 7].serv_id   = serv_id_8;                                        \
+    clazz[ 7].serv_data = serv_data_8;                                      \
+    clazz[ 8].serv_id   = serv_id_9;                                        \
+    clazz[ 8].serv_data = serv_data_9;                                      \
+    clazz[ 9].serv_id   = serv_id_10;                                       \
+    clazz[ 9].serv_data = serv_data_10;                                     \
     clazz[10].serv_id   = NULL;                                             \
     clazz[10].serv_data = NULL;                                             \
                                                                             \
@@ -986,7 +986,9 @@ FT_BEGIN_HEADER
    */
 
 #define FT_SERVICE_BDF_H                <freetype/internal/services/svbdf.h>
+#define FT_SERVICE_CFF_TABLE_LOAD_H     <freetype/internal/services/svcfftl.h>
 #define FT_SERVICE_CID_H                <freetype/internal/services/svcid.h>
+#define FT_SERVICE_FONT_FORMAT_H        <freetype/internal/services/svfntfmt.h>
 #define FT_SERVICE_GLYPH_DICT_H         <freetype/internal/services/svgldict.h>
 #define FT_SERVICE_GX_VALIDATE_H        <freetype/internal/services/svgxval.h>
 #define FT_SERVICE_KERNING_H            <freetype/internal/services/svkern.h>
@@ -1000,11 +1002,10 @@ FT_BEGIN_HEADER
 #define FT_SERVICE_PROPERTIES_H         <freetype/internal/services/svprop.h>
 #define FT_SERVICE_SFNT_H               <freetype/internal/services/svsfnt.h>
 #define FT_SERVICE_TRUETYPE_ENGINE_H    <freetype/internal/services/svtteng.h>
+#define FT_SERVICE_TRUETYPE_GLYF_H      <freetype/internal/services/svttglyf.h>
 #define FT_SERVICE_TT_CMAP_H            <freetype/internal/services/svttcmap.h>
 #define FT_SERVICE_WINFNT_H             <freetype/internal/services/svwinfnt.h>
-#define FT_SERVICE_FONT_FORMAT_H        <freetype/internal/services/svfntfmt.h>
-#define FT_SERVICE_TRUETYPE_GLYF_H      <freetype/internal/services/svttglyf.h>
-#define FT_SERVICE_CFF_TABLE_LOAD_H     <freetype/internal/services/svcfftl.h>
+
  /* */
 
 FT_END_HEADER
diff --git a/include/freetype/internal/psaux.h b/include/freetype/internal/psaux.h
index 2553547..46c238a 100644
--- a/include/freetype/internal/psaux.h
+++ b/include/freetype/internal/psaux.h
@@ -467,6 +467,7 @@ FT_BEGIN_HEADER
   /*************************************************************************/
   /*************************************************************************/
 
+
   typedef struct PS_Builder_  PS_Builder;
   typedef const struct PS_Builder_FuncsRec_*  PS_Builder_Funcs;
 
@@ -478,7 +479,7 @@ FT_BEGIN_HEADER
              FT_Bool      is_t1 );
 
     void
-    (*done)( PS_Builder*   builder );
+    (*done)( PS_Builder*  builder );
 
   } PS_Builder_FuncsRec;
 
@@ -524,6 +525,8 @@ FT_BEGIN_HEADER
   /*                    the metrics of a given glyph, not load all of its  */
   /*                    points.                                            */
   /*                                                                       */
+  /*    is_t1        :: Set if current font type is Type 1.                */
+  /*                                                                       */
   /*    funcs        :: An array of function pointers for the builder.     */
   /*                                                                       */
   struct  PS_Builder_
@@ -535,20 +538,19 @@ FT_BEGIN_HEADER
     FT_Outline*     base;
     FT_Outline*     current;
 
-    FT_Pos*         pos_x;
-    FT_Pos*         pos_y;
+    FT_Pos*  pos_x;
+    FT_Pos*  pos_y;
 
-    FT_Vector*      left_bearing;
-    FT_Vector*      advance;
-
-    FT_BBox*        bbox;          /* bounding box */
-    FT_Bool         path_begun;
-    FT_Bool         load_points;
-    FT_Bool         no_recurse;
+    FT_Vector*  left_bearing;
+    FT_Vector*  advance;
 
-    FT_Bool         metrics_only;
+    FT_BBox*  bbox;          /* bounding box */
+    FT_Bool   path_begun;
+    FT_Bool   load_points;
+    FT_Bool   no_recurse;
 
-    FT_Bool         is_t1;
+    FT_Bool  metrics_only;
+    FT_Bool  is_t1;
 
     PS_Builder_FuncsRec  funcs;
 
@@ -596,64 +598,64 @@ FT_BEGIN_HEADER
 
   typedef struct  PS_Decoder_
   {
-    PS_Builder         builder;
+    PS_Builder  builder;
 
-    FT_Fixed           stack[PS_MAX_OPERANDS + 1];
-    FT_Fixed*          top;
+    FT_Fixed   stack[PS_MAX_OPERANDS + 1];
+    FT_Fixed*  top;
 
-    PS_Decoder_Zone    zones[PS_MAX_SUBRS_CALLS + 1];
-    PS_Decoder_Zone*   zone;
+    PS_Decoder_Zone   zones[PS_MAX_SUBRS_CALLS + 1];
+    PS_Decoder_Zone*  zone;
 
-    FT_Int             flex_state;
-    FT_Int             num_flex_vectors;
-    FT_Vector          flex_vectors[7];
+    FT_Int     flex_state;
+    FT_Int     num_flex_vectors;
+    FT_Vector  flex_vectors[7];
 
-    CFF_Font           cff;
-    CFF_SubFont        current_subfont; /* for current glyph_index */
-    FT_Generic*        cf2_instance;
+    CFF_Font     cff;
+    CFF_SubFont  current_subfont; /* for current glyph_index */
+    FT_Generic*  cf2_instance;
 
-    FT_Pos             glyph_width;
-    FT_Pos             nominal_width;
+    FT_Pos  glyph_width;
+    FT_Pos  nominal_width;
 
-    FT_Bool            read_width;
-    FT_Bool            width_only;
-    FT_Int             num_hints;
+    FT_Bool  read_width;
+    FT_Bool  width_only;
+    FT_Int   num_hints;
 
-    FT_UInt            num_locals;
-    FT_UInt            num_globals;
+    FT_UInt  num_locals;
+    FT_UInt  num_globals;
 
-    FT_Int             locals_bias;
-    FT_Int             globals_bias;
+    FT_Int  locals_bias;
+    FT_Int  globals_bias;
 
-    FT_Byte**          locals;
-    FT_Byte**          globals;
+    FT_Byte**  locals;
+    FT_Byte**  globals;
 
-    FT_Byte**          glyph_names;   /* for pure CFF fonts only  */
-    FT_UInt            num_glyphs;    /* number of glyphs in font */
+    FT_Byte**  glyph_names;   /* for pure CFF fonts only  */
+    FT_UInt    num_glyphs;    /* number of glyphs in font */
 
-    FT_Render_Mode     hint_mode;
+    FT_Render_Mode  hint_mode;
 
-    FT_Bool            seac;
+    FT_Bool  seac;
 
     CFF_Decoder_Get_Glyph_Callback   get_glyph_callback;
     CFF_Decoder_Free_Glyph_Callback  free_glyph_callback;
 
     /* Type 1 stuff */
-    FT_Service_PsCMaps   psnames;      /* for seac */
+    FT_Service_PsCMaps  psnames;      /* for seac */
 
-    FT_Int               lenIV;        /* internal for sub routine calls */
-    FT_UInt*             locals_len;    /* array of subrs length (optional) */
-    FT_Hash              locals_hash;   /* used if `num_subrs' was massaged */
+    FT_Int    lenIV;         /* internal for sub routine calls   */
+    FT_UInt*  locals_len;    /* array of subrs length (optional) */
+    FT_Hash   locals_hash;   /* used if `num_subrs' was massaged */
 
-    FT_Matrix            font_matrix;
-    FT_Vector            font_offset;
+    FT_Matrix  font_matrix;
+    FT_Vector  font_offset;
 
-    PS_Blend             blend;       /* for multiple master support */
+    PS_Blend  blend;         /* for multiple master support */
 
-    FT_Long*             buildchar;
-    FT_UInt              len_buildchar;
+    FT_Long*  buildchar;
+    FT_UInt   len_buildchar;
 
-    void*                t1_parse_callback;
+    void*  t1_parse_callback;
 
   } PS_Decoder;
 
@@ -929,6 +931,7 @@ FT_BEGIN_HEADER
 
   } T1_DecoderRec;
 
+
   /*************************************************************************/
   /*************************************************************************/
   /*****                                                               *****/
@@ -938,7 +941,7 @@ FT_BEGIN_HEADER
   /*************************************************************************/
 
 
-  typedef struct  CFF_Builder_ CFF_Builder;
+  typedef struct CFF_Builder_  CFF_Builder;
 
 
   typedef FT_Error
@@ -1033,6 +1036,8 @@ FT_BEGIN_HEADER
   /*                                                                       */
   /*    hints_globals :: Auxiliary pointer for hinting.                    */
   /*                                                                       */
+  /*    funcs         :: A table of method pointers for this object.       */
+  /*                                                                       */
   struct  CFF_Builder_
   {
     FT_Memory       memory;
@@ -1042,24 +1047,24 @@ FT_BEGIN_HEADER
     FT_Outline*     base;
     FT_Outline*     current;
 
-    FT_Pos          pos_x;
-    FT_Pos          pos_y;
+    FT_Pos  pos_x;
+    FT_Pos  pos_y;
 
-    FT_Vector       left_bearing;
-    FT_Vector       advance;
+    FT_Vector  left_bearing;
+    FT_Vector  advance;
 
-    FT_BBox         bbox;          /* bounding box */
-    FT_Bool         path_begun;
-    FT_Bool         load_points;
-    FT_Bool         no_recurse;
+    FT_BBox  bbox;          /* bounding box */
 
-    FT_Bool         metrics_only;
+    FT_Bool  path_begun;
+    FT_Bool  load_points;
+    FT_Bool  no_recurse;
 
-    void*           hints_funcs;    /* hinter-specific */
-    void*           hints_globals;  /* hinter-specific */
+    FT_Bool  metrics_only;
 
-    CFF_Builder_FuncsRec  funcs;
+    void*  hints_funcs;     /* hinter-specific */
+    void*  hints_globals;   /* hinter-specific */
 
+    CFF_Builder_FuncsRec  funcs;
   };
 
 
@@ -1071,6 +1076,7 @@ FT_BEGIN_HEADER
   /*************************************************************************/
   /*************************************************************************/
 
+
 #define CFF_MAX_OPERANDS        48
 #define CFF_MAX_SUBRS_CALLS     16  /* maximum subroutine nesting;         */
                                     /* only 10 are allowed but there exist */
@@ -1093,61 +1099,62 @@ FT_BEGIN_HEADER
 
   typedef struct  CFF_Decoder_
   {
-    CFF_Builder        builder;
-    CFF_Font           cff;
+    CFF_Builder  builder;
+    CFF_Font     cff;
 
-    FT_Fixed           stack[CFF_MAX_OPERANDS + 1];
-    FT_Fixed*          top;
+    FT_Fixed   stack[CFF_MAX_OPERANDS + 1];
+    FT_Fixed*  top;
 
     CFF_Decoder_Zone   zones[CFF_MAX_SUBRS_CALLS + 1];
     CFF_Decoder_Zone*  zone;
 
-    FT_Int             flex_state;
-    FT_Int             num_flex_vectors;
-    FT_Vector          flex_vectors[7];
+    FT_Int     flex_state;
+    FT_Int     num_flex_vectors;
+    FT_Vector  flex_vectors[7];
 
-    FT_Pos             glyph_width;
-    FT_Pos             nominal_width;
+    FT_Pos  glyph_width;
+    FT_Pos  nominal_width;
 
-    FT_Bool            read_width;
-    FT_Bool            width_only;
-    FT_Int             num_hints;
-    FT_Fixed           buildchar[CFF_MAX_TRANS_ELEMENTS];
+    FT_Bool   read_width;
+    FT_Bool   width_only;
+    FT_Int    num_hints;
+    FT_Fixed  buildchar[CFF_MAX_TRANS_ELEMENTS];
 
-    FT_UInt            num_locals;
-    FT_UInt            num_globals;
+    FT_UInt  num_locals;
+    FT_UInt  num_globals;
 
-    FT_Int             locals_bias;
-    FT_Int             globals_bias;
+    FT_Int  locals_bias;
+    FT_Int  globals_bias;
 
-    FT_Byte**          locals;
-    FT_Byte**          globals;
+    FT_Byte**  locals;
+    FT_Byte**  globals;
 
-    FT_Byte**          glyph_names;   /* for pure CFF fonts only  */
-    FT_UInt            num_glyphs;    /* number of glyphs in font */
+    FT_Byte**  glyph_names;   /* for pure CFF fonts only  */
+    FT_UInt    num_glyphs;    /* number of glyphs in font */
 
-    FT_Render_Mode     hint_mode;
+    FT_Render_Mode  hint_mode;
 
-    FT_Bool            seac;
+    FT_Bool  seac;
 
-    CFF_SubFont        current_subfont; /* for current glyph_index */
+    CFF_SubFont  current_subfont; /* for current glyph_index */
 
     CFF_Decoder_Get_Glyph_Callback   get_glyph_callback;
     CFF_Decoder_Free_Glyph_Callback  free_glyph_callback;
 
   } CFF_Decoder;
 
+
   typedef const struct CFF_Decoder_FuncsRec_*  CFF_Decoder_Funcs;
 
   typedef struct  CFF_Decoder_FuncsRec_
   {
     void
-    (*init)( CFF_Decoder*    decoder,
-             TT_Face         face,
-             CFF_Size        size,
-             CFF_GlyphSlot   slot,
-             FT_Bool         hinting,
-             FT_Render_Mode  hint_mode,
+    (*init)( CFF_Decoder*                     decoder,
+             TT_Face                          face,
+             CFF_Size                         size,
+             CFF_GlyphSlot                    slot,
+             FT_Bool                          hinting,
+             FT_Render_Mode                   hint_mode,
              CFF_Decoder_Get_Glyph_Callback   get_callback,
              CFF_Decoder_Free_Glyph_Callback  free_callback );
 
diff --git a/include/freetype/internal/services/svcfftl.h b/include/freetype/internal/services/svcfftl.h
index a47debf..851bcde 100644
--- a/include/freetype/internal/services/svcfftl.h
+++ b/include/freetype/internal/services/svcfftl.h
@@ -4,7 +4,14 @@
 /*                                                                         */
 /*    The FreeType CFF tables loader service (specification).              */
 /*                                                                         */
-/*  Copyright notice here                                                  */
+/*  Copyright 2017 by                                                      */
+/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
+/*                                                                         */
+/*  This file is part of the FreeType project, and may only be used,       */
+/*  modified, and distributed under the terms of the FreeType project      */
+/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
+/*  this file you indicate that you have read the license and              */
+/*  understand and accept it fully.                                        */
 /*                                                                         */
 /***************************************************************************/
 
@@ -96,10 +103,9 @@ FT_BEGIN_HEADER
 #endif /* FT_CONFIG_OPTION_PIC */
 
 
-
-
 FT_END_HEADER
 
+
 #endif
 
 
diff --git a/src/psaux/psobjs.h b/src/psaux/psobjs.h
index e1f7240..08fd4fc 100644
--- a/src/psaux/psobjs.h
+++ b/src/psaux/psobjs.h
@@ -245,7 +245,7 @@ FT_BEGIN_HEADER
   ps_builder_init( PS_Builder*  ps_builder,
                    void*        builder,
                    FT_Bool      is_t1 );
-                   
+
 
   FT_LOCAL( void )
   ps_builder_done( PS_Builder*  builder );