shithub: neatroff

Download patch

ref: 867f1772c21359c2577857c6ca22bf3365271a34
parent: c96d5ac9e6e6d97f85052f9cb7ceb998fb13d11d
author: Ali Gholami Rudi <[email protected]>
date: Sun Oct 13 16:37:33 EDT 2013

ren: disable .char for diverted text

--- a/ren.c
+++ b/ren.c
@@ -733,7 +733,10 @@
 	if (!n_lg || ren_div || wb_lig(wb, c)) {
 		if (n_kn && !ren_div)
 			wb_kern(wb, c);
-		wb_putexpand(wb, c);
+		if (ren_div)
+			wb_put(wb, c);	/* disable .char for diverted text */
+		else
+			wb_putexpand(wb, c);
 	}
 }