shithub: neatpost

Download patch

ref: 8509d0b1f86126dda8af06b928b30d9ca485cc92
parent: 93329251a3a8a9bb2a99af6ecd8ddaac4836224a
author: Ali Gholami Rudi <ali@rudi.ir>
date: Wed Jul 10 15:28:54 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);