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 29774610 for ; Tue, 15 Jan 2019 07:16:48 -0500 (EST) Date: Tue, 15 Jan 2019 07:16:48 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: In PostScript and PDF output, one AFM unit is not nearly enough X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: Log Message: ----------- In PostScript and PDF output, one AFM unit is not nearly enough inter-word spacing, let's try again with 250 AFM units. Regression caused during my recent term_flushln() reorg in rev. 1.278, reported by brynet@ (sorry and many thanks for reporting). Modified Files: -------------- mandoc: term.c Revision Data ------------- Index: term.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/term.c,v retrieving revision 1.279 retrieving revision 1.280 diff -Lterm.c -Lterm.c -u -p -r1.279 -r1.280 --- term.c +++ term.c @@ -374,8 +374,9 @@ term_field(struct termp *p, size_t vbl, continue; case ' ': case ASCII_NBRSP: - vbl++; - vis++; + dv = (*p->width)(p, ' '); + vbl += dv; + vis += dv; continue; default: break; -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv