ref: d108830148da4b473a9bc2690fa29f8a0359149b
parent: 45c18fa7176a70388ed25465a339b60b7e50bab0
author: Ali Gholami Rudi <ali@rudi.ir>
date: Wed Jul 10 15:32:44 EDT 2013
font: use cxxxx for unnamed glyphs
--- a/font.c
+++ b/font.c
@@ -48,6 +48,8 @@
}
fscanf(fin, "%s", tok);
glyph = prev;
++ if (!strcmp("---", name))
++ sprintf(name, "c%04d", fn->n);
if (strcmp("\"", tok)) {
wid = atoi(tok);
fscanf(fin, "%d %s", &type, id);