shithub: neatroff

Download patch

ref: c8abc41c0e6570845d07f45c7f6ccb5be0cc8038
parent: 79583a168cdf71c4435683fccad97630fa01e17d
author: Ali Gholami Rudi <ali@rudi.ir>
date: Tue Sep 10 12:47:06 EDT 2013

ren: disable ligatures and pairwise kerning when interpolating diverted text

--- a/ren.c
+++ b/ren.c
@@ -725,8 +725,8 @@
 			strcpy(c, g ? g->name : "cnull");
 		}
 	}
-	if (!n_lg || wb_lig(wb, c)) {
-		if (n_kn)
+	if (!n_lg || ren_div || wb_lig(wb, c)) {
+		if (n_kn && !ren_div)
 			wb_kern(wb, c);
 		wb_put(wb, c);
 	}