Skip to content

Commit 2800531

Browse files
Undid external fix.
1 parent 3423f91 commit 2800531

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

extern/ttconv/pprdrv_tt.cpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ void sfnts_end_string(TTStreamWriter& stream)
619619

620620
/*
621621
** 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
623623
** which will follow. If the new table will not fit
624624
** in the current string, a new one is started.
625625
*/
@@ -742,7 +742,7 @@ void ttfont_sfnts(TTStreamWriter& stream, struct TTFONT *font)
742742
ULONG checksum;
743743
} tables[9];
744744

745-
BYTE *ptr; /* A pointer into the original table directory. */
745+
BYTE *ptr; /* A pointer into the origional table directory. */
746746
ULONG x,y; /* General use loop countes. */
747747
int c; /* Input character. */
748748
int diff;
@@ -821,7 +821,7 @@ void ttfont_sfnts(TTStreamWriter& stream, struct TTFONT *font)
821821

822822
debug("only %d tables selected",count);
823823

824-
/* Now, emit the table directory. */
824+
/* Now, emmit the table directory. */
825825
for (x=0; x < 9; x++)
826826
{
827827
if ( tables[x].length == 0 ) /* Skip missing tables */
@@ -910,7 +910,7 @@ void ttfont_sfnts(TTStreamWriter& stream, struct TTFONT *font)
910910
**
911911
** If we are creating a type 3 instead of a type 42 font,
912912
** this array will instead convert PostScript character names
913-
** to executable procedures.
913+
** to executable proceedures.
914914
--------------------------------------------------------------*/
915915
const char *Apple_CharStrings[]=
916916
{
@@ -1022,7 +1022,7 @@ void ttfont_CharStrings(TTStreamWriter& stream, struct TTFONT *font, std::vector
10221022
/* The 'post' table format number. */
10231023
post_format = getFixed( font->post_table );
10241024

1025-
/* Emit the start of the PostScript code to define the dictionary. */
1025+
/* Emmit the start of the PostScript code to define the dictionary. */
10261026
stream.printf("/CharStrings %d dict dup begin\n", glyph_ids.size()+1);
10271027
/* Section 5.8.2 table 5.7 of the PS Language Ref says a CharStrings dictionary must contain an entry for .notdef */
10281028
stream.printf("/.notdef 0 def\n");
@@ -1051,13 +1051,13 @@ void ttfont_CharStrings(TTStreamWriter& stream, struct TTFONT *font, std::vector
10511051
} /* end of ttfont_CharStrings() */
10521052

10531053
/*----------------------------------------------------------------
1054-
** Emit the code to finish up the dictionary and turn
1054+
** Emmit the code to finish up the dictionary and turn
10551055
** it into a font.
10561056
----------------------------------------------------------------*/
10571057
void ttfont_trailer(TTStreamWriter& stream, struct TTFONT *font)
10581058
{
10591059
/* If we are generating a type 3 font, we need to provide */
1060-
/* a BuildGlyph and BuildChar procedures. */
1060+
/* a BuildGlyph and BuildChar proceedures. */
10611061
if (font->target_type == PS_TYPE_3 ||
10621062
font->target_type == PS_TYPE_42_3_HYBRID)
10631063
{
@@ -1072,7 +1072,7 @@ void ttfont_trailer(TTStreamWriter& stream, struct TTFONT *font)
10721072

10731073
stream.put_char('\n');
10741074

1075-
/* This procedure is for compatibility with */
1075+
/* This proceedure is for compatibility with */
10761076
/* level 1 interpreters. */
10771077
stream.putline("/BuildChar {");
10781078
stream.putline(" 1 index /Encoding get exch get");
@@ -1127,7 +1127,7 @@ void ttfont_trailer(TTStreamWriter& stream, struct TTFONT *font)
11271127
/* is a procedure. If it is, it executes it, otherwise, it */
11281128
/* lets the TrueType rasterizer loose on it. */
11291129

1130-
/* When this procedure is executed the stack contains */
1130+
/* When this proceedure is executed the stack contains */
11311131
/* the font dictionary and the character name. We */
11321132
/* exchange arguments and move the dictionary to the */
11331133
/* dictionary stack. */
@@ -1151,7 +1151,7 @@ void ttfont_trailer(TTStreamWriter& stream, struct TTFONT *font)
11511151
stream.putline(" get dup xcheck");
11521152
/* stack: CharStrings_entry */
11531153

1154-
/* If is a procedure. Execute according to RBIIp 277-278. */
1154+
/* If is a proceedure. Execute according to RBIIp 277-278. */
11551155
stream.putline(" {currentdict systemdict begin begin exec end end}");
11561156

11571157
/* 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
12941294
font.numGlyphs = getUSHORT( font.post_table + 32 );
12951295

12961296
/* 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 */
12981298
/* we are generating the CharStrings. */
12991299
if (font.target_type == PS_TYPE_3 || font.target_type == PS_TYPE_42_3_HYBRID)
13001300
{
@@ -1345,14 +1345,14 @@ void insert_ttfont(const char *filename, TTStreamWriter& stream,
13451345
ttfont_FontInfo(stream, &font);
13461346

13471347
/* If we are generating a type 42 font, */
1348-
/* emit the sfnts array. */
1348+
/* emmit the sfnts array. */
13491349
if (font.target_type == PS_TYPE_42 ||
13501350
font.target_type == PS_TYPE_42_3_HYBRID)
13511351
{
13521352
ttfont_sfnts(stream, &font);
13531353
}
13541354

1355-
/* Emit the CharStrings array. */
1355+
/* Emmit the CharStrings array. */
13561356
ttfont_CharStrings(stream, &font, glyph_ids);
13571357

13581358
/* Send the font trailer. */

extern/ttconv/pprdrv_tt2.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ struct FlaggedPoint
9696
** overflow the stack on certain level 1 interpreters.
9797
**
9898
** Prepare to push another item onto the stack,
99-
** starting a new procedure if necessary.
99+
** starting a new proceedure if necessary.
100100
**
101101
** Not all the stack depth calculations in this routine
102102
** are perfectly accurate, but they do the job.
@@ -131,7 +131,7 @@ void GlyphToType3::stack_end(TTStreamWriter& stream) /* calle
131131
} /* end of stack_end() */
132132

133133
/*
134-
** We call this routine to emit the PostScript code
134+
** We call this routine to emmit the PostScript code
135135
** for the character we have loaded with load_char().
136136
*/
137137
void GlyphToType3::PSConvert(TTStreamWriter& stream)
@@ -398,7 +398,7 @@ void GlyphToType3::load_char(TTFONT* font, BYTE *glyph)
398398
} /* end of load_char() */
399399

400400
/*
401-
** Emit PostScript code for a composite character.
401+
** Emmit PostScript code for a composite character.
402402
*/
403403
void GlyphToType3::do_composite(TTStreamWriter& stream, struct TTFONT *font, BYTE *glyph)
404404
{

0 commit comments

Comments
 (0)