Rudimentary implementation of the roff(7) .char (output glyph
authorschwarze <schwarze@openbsd.org>
Sat, 25 Aug 2018 16:43:52 +0000 (16:43 +0000)
committerschwarze <schwarze@openbsd.org>
Sat, 25 Aug 2018 16:43:52 +0000 (16:43 +0000)
commit29fcab3e34e97e5bf3f12b6cf7048525b7981deb
tree73fb841b6f2c1684ad67260157b347b2e9cdd166
parentf5ad6af83669c1be507cfb3cded0c5eec2343138
Rudimentary implementation of the roff(7) .char (output glyph
definition) request, used for example by groff_hdtbl(7).

This simplistic implementation may interact incorrectly
with the .tr (input character translation) request.
But come on, you are not only using .char *and* .tr, but you do so
with respect to the same character in the same manual page?
regress/usr.bin/mandoc/roff/char/Makefile [new file with mode: 0644]
regress/usr.bin/mandoc/roff/char/badarg.in [new file with mode: 0644]
regress/usr.bin/mandoc/roff/char/badarg.out_ascii [new file with mode: 0644]
regress/usr.bin/mandoc/roff/char/badarg.out_lint [new file with mode: 0644]
regress/usr.bin/mandoc/roff/char/basic.in [new file with mode: 0644]
regress/usr.bin/mandoc/roff/char/basic.out_ascii [new file with mode: 0644]
share/man/man7/roff.7
usr.bin/mandoc/mandoc.1
usr.bin/mandoc/mandoc.h
usr.bin/mandoc/read.c
usr.bin/mandoc/roff.c