ref: 5d3e4c0c7c1bc23a6e9f163718d40e348f4789ca
parent: 2f724cae95c31014be9f9b719d952bcb7589ab09
author: Ali Gholami Rudi <ali@rudi.ir>
date: Sat Dec 14 13:47:33 EST 2013
trfn: output only nonzero kerning values
--- a/trfn.c
+++ b/trfn.c
@@ -323,7 +323,7 @@
void trfn_kern(char *c1, char *c2, int x)
{
- if (abs(WX(x)) >= WX(trfn_kmin))
+ if (WX(x) && abs(WX(x)) >= WX(trfn_kmin))
sbuf_printf(&sbuf_kern, "kern %s\t%s\t%d\n", c1, c2, WX(x));
}