diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-22 22:51:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-22 22:51:43 +0000 |
commit | 3f21939a391eaea3a1eab39d7ae539fdd04cb52a (patch) | |
tree | 0a80244e6c6341ae858f7815c4acd0ca42b2844e /libmdoc.h | |
parent | 5a2eef4971d2209c986589dabc0489ebf07587a9 (diff) | |
download | mandoc-3f21939a391eaea3a1eab39d7ae539fdd04cb52a.tar.gz mandoc-3f21939a391eaea3a1eab39d7ae539fdd04cb52a.tar.zst mandoc-3f21939a391eaea3a1eab39d7ae539fdd04cb52a.zip |
Slightly improve \w width measurements:
Count special characters with the same width as ASCII characters
and treat all other escape sequences as if they had a width of 0.
Certainly not perfect, but a bit better.
For example, GNU RCS ci(1) needs this; reported by naddy@.
Diffstat (limited to 'libmdoc.h')
0 files changed, 0 insertions, 0 deletions