From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id c23722c4; for ; Fri, 23 Oct 2015 09:51:28 -0500 (EST) Date: Fri, 23 Oct 2015 09:51:28 -0500 (EST) Message-Id: <605022182445074374.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: apply bold and italic to all non-ASCII Unicode codepoints, X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- apply bold and italic to all non-ASCII Unicode codepoints, fixing input like \fB\('e; issue reported by bentley@ Modified Files: -------------- mdocml: term.c Revision Data ------------- Index: term.c =================================================================== RCS file: /home/cvs/mdocml/mdocml/term.c,v retrieving revision 1.254 retrieving revision 1.255 diff -Lterm.c -Lterm.c -u -p -r1.254 -r1.255 --- term.c +++ term.c @@ -564,7 +564,7 @@ encode1(struct termp *p, int c) if (p->col + 7 >= p->maxcols) adjbuf(p, p->col + 7); - f = (c == ASCII_HYPH || isgraph(c)) ? + f = (c == ASCII_HYPH || c > 127 || isgraph(c)) ? p->fontq[p->fonti] : TERMFONT_NONE; if (p->flags & TERMP_BACKBEFORE) { -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv