@@ -619,7 +619,7 @@ void sfnts_end_string(TTStreamWriter& stream)
619
619
620
620
/*
621
621
** This is called at the start of each new table.
622
- ** The argument is the length in bytes of the table
622
+ ** The argement is the length in bytes of the table
623
623
** which will follow. If the new table will not fit
624
624
** in the current string, a new one is started.
625
625
*/
@@ -742,7 +742,7 @@ void ttfont_sfnts(TTStreamWriter& stream, struct TTFONT *font)
742
742
ULONG checksum;
743
743
} tables[9 ];
744
744
745
- BYTE *ptr; /* A pointer into the original table directory. */
745
+ BYTE *ptr; /* A pointer into the origional table directory. */
746
746
ULONG x,y; /* General use loop countes. */
747
747
int c; /* Input character. */
748
748
int diff;
@@ -821,7 +821,7 @@ void ttfont_sfnts(TTStreamWriter& stream, struct TTFONT *font)
821
821
822
822
debug (" only %d tables selected" ,count);
823
823
824
- /* Now, emit the table directory. */
824
+ /* Now, emmit the table directory. */
825
825
for (x=0 ; x < 9 ; x++)
826
826
{
827
827
if ( tables[x].length == 0 ) /* Skip missing tables */
@@ -910,7 +910,7 @@ void ttfont_sfnts(TTStreamWriter& stream, struct TTFONT *font)
910
910
**
911
911
** If we are creating a type 3 instead of a type 42 font,
912
912
** this array will instead convert PostScript character names
913
- ** to executable procedures .
913
+ ** to executable proceedures .
914
914
--------------------------------------------------------------*/
915
915
const char *Apple_CharStrings[]=
916
916
{
@@ -1022,7 +1022,7 @@ void ttfont_CharStrings(TTStreamWriter& stream, struct TTFONT *font, std::vector
1022
1022
/* The 'post' table format number. */
1023
1023
post_format = getFixed ( font->post_table );
1024
1024
1025
- /* Emit the start of the PostScript code to define the dictionary. */
1025
+ /* Emmit the start of the PostScript code to define the dictionary. */
1026
1026
stream.printf (" /CharStrings %d dict dup begin\n " , glyph_ids.size ()+1 );
1027
1027
/* Section 5.8.2 table 5.7 of the PS Language Ref says a CharStrings dictionary must contain an entry for .notdef */
1028
1028
stream.printf (" /.notdef 0 def\n " );
@@ -1051,13 +1051,13 @@ void ttfont_CharStrings(TTStreamWriter& stream, struct TTFONT *font, std::vector
1051
1051
} /* end of ttfont_CharStrings() */
1052
1052
1053
1053
/* ----------------------------------------------------------------
1054
- ** Emit the code to finish up the dictionary and turn
1054
+ ** Emmit the code to finish up the dictionary and turn
1055
1055
** it into a font.
1056
1056
----------------------------------------------------------------*/
1057
1057
void ttfont_trailer (TTStreamWriter& stream, struct TTFONT *font)
1058
1058
{
1059
1059
/* If we are generating a type 3 font, we need to provide */
1060
- /* a BuildGlyph and BuildChar procedures . */
1060
+ /* a BuildGlyph and BuildChar proceedures . */
1061
1061
if (font->target_type == PS_TYPE_3 ||
1062
1062
font->target_type == PS_TYPE_42_3_HYBRID)
1063
1063
{
@@ -1072,7 +1072,7 @@ void ttfont_trailer(TTStreamWriter& stream, struct TTFONT *font)
1072
1072
1073
1073
stream.put_char (' \n ' );
1074
1074
1075
- /* This procedure is for compatibility with */
1075
+ /* This proceedure is for compatibility with */
1076
1076
/* level 1 interpreters. */
1077
1077
stream.putline (" /BuildChar {" );
1078
1078
stream.putline (" 1 index /Encoding get exch get" );
@@ -1127,7 +1127,7 @@ void ttfont_trailer(TTStreamWriter& stream, struct TTFONT *font)
1127
1127
/* is a procedure. If it is, it executes it, otherwise, it */
1128
1128
/* lets the TrueType rasterizer loose on it. */
1129
1129
1130
- /* When this procedure is executed the stack contains */
1130
+ /* When this proceedure is executed the stack contains */
1131
1131
/* the font dictionary and the character name. We */
1132
1132
/* exchange arguments and move the dictionary to the */
1133
1133
/* dictionary stack. */
@@ -1151,7 +1151,7 @@ void ttfont_trailer(TTStreamWriter& stream, struct TTFONT *font)
1151
1151
stream.putline (" get dup xcheck" );
1152
1152
/* stack: CharStrings_entry */
1153
1153
1154
- /* If is a procedure . Execute according to RBIIp 277-278. */
1154
+ /* If is a proceedure . Execute according to RBIIp 277-278. */
1155
1155
stream.putline (" {currentdict systemdict begin begin exec end end}" );
1156
1156
1157
1157
/* Is a TrueType character index, let the rasterizer at it. */
@@ -1294,7 +1294,7 @@ void read_font(const char *filename, font_type_enum target_type, std::vector<int
1294
1294
font.numGlyphs = getUSHORT ( font.post_table + 32 );
1295
1295
1296
1296
/* If we are generating a Type 3 font, we will need to */
1297
- /* have the 'loca' and 'glyf' tables around while */
1297
+ /* have the 'loca' and 'glyf' tables arround while */
1298
1298
/* we are generating the CharStrings. */
1299
1299
if (font.target_type == PS_TYPE_3 || font.target_type == PS_TYPE_42_3_HYBRID)
1300
1300
{
@@ -1345,14 +1345,14 @@ void insert_ttfont(const char *filename, TTStreamWriter& stream,
1345
1345
ttfont_FontInfo (stream, &font);
1346
1346
1347
1347
/* If we are generating a type 42 font, */
1348
- /* emit the sfnts array. */
1348
+ /* emmit the sfnts array. */
1349
1349
if (font.target_type == PS_TYPE_42 ||
1350
1350
font.target_type == PS_TYPE_42_3_HYBRID)
1351
1351
{
1352
1352
ttfont_sfnts (stream, &font);
1353
1353
}
1354
1354
1355
- /* Emit the CharStrings array. */
1355
+ /* Emmit the CharStrings array. */
1356
1356
ttfont_CharStrings (stream, &font, glyph_ids);
1357
1357
1358
1358
/* Send the font trailer. */
0 commit comments