diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-15 12:16:18 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-15 12:16:18 +0000 |
commit | 72e25eeca523e5195e5fb704b9c9c73c17acb405 (patch) | |
tree | d14522bab61586983a7226f8ad6f6f52f2290ac8 /term.c | |
parent | 350e158d591d60167745a0943344c02f339a89a1 (diff) | |
download | mandoc-72e25eeca523e5195e5fb704b9c9c73c17acb405.tar.gz |
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).
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -374,8 +374,9 @@ term_field(struct termp *p, size_t vbl, size_t nbr, size_t vbr, size_t vtarget) continue; case ' ': case ASCII_NBRSP: - vbl++; - vis++; + dv = (*p->width)(p, ' '); + vbl += dv; + vis += dv; continue; default: break; |