Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cfftot1/maket1font.cc
Original file line number Diff line number Diff line change
Expand Up @@ -454,10 +454,10 @@ MakeType1CharstringInterp::run(const CharstringProgram *program, Type1Font *outp
PermString name = program->glyph_name(i);
if (output->glyph(name)) {
errh->warning("glyph %<%s%> defined more than once", name.c_str());
int i = 1;
int j = 1;
do {
name = program->glyph_name(i) + String(".") + String(i);
++i;
name = program->glyph_name(i) + String(".") + String(j);
++j;
} while (output->glyph(name));
}
output->add_glyph(Type1Subr::make_glyph(name, receptacle, glyph_definer));
Expand Down