shithub: neatmkfn

Download patch

ref: a48fad4b4955a5868a2ad8b52ee7c916023766a3
parent: 389b96d68669a44851fb55a4a6969244ac8aed34
author: Ali Gholami Rudi <ali@rudi.ir>
date: Sun Sep 8 13:22:06 EDT 2013

trfn: print a message if glyphlist.txt cannot be found

--- a/trfn.c
+++ b/trfn.c
@@ -244,7 +244,8 @@
 	int i;
 	trfn_div = 7200 / res;
 	trfn_special = spc;
-	agl_read("glyphlist.txt");
+	if (agl_read("glyphlist.txt"))
+		fprintf(stderr, "mktrfn: could not open glyphlist.txt\n");
 	sbuf_init(&sbuf_char);
 	sbuf_init(&sbuf_kern);
 	tab_alts = tab_alloc(LEN(alts));