Fix vertical scaling. Obviously, nobody ever had a serious look at this.
authorschwarze <schwarze@openbsd.org>
Tue, 23 Dec 2014 06:16:21 +0000 (06:16 +0000)
committerschwarze <schwarze@openbsd.org>
Tue, 23 Dec 2014 06:16:21 +0000 (06:16 +0000)
commit82de3b2c616f7eb5dd93bf423bcd6b7080b6001e
tree82ef8eed87ce22de9035f50e67aa81b581dc200d
parentac6cf2c15a10eb98731ac02e2d2e71cf65875ec8
Fix vertical scaling.  Obviously, nobody ever had a serious look at this.
Basic units, centimeters, points, ens, ems, and the rounding algorithm
were all wrong, only inches, pica, and the default vertical span worked.
regress/usr.bin/mandoc/roff/sp/Makefile
regress/usr.bin/mandoc/roff/sp/scaling-man.in [new file with mode: 0644]
regress/usr.bin/mandoc/roff/sp/scaling-man.out_ascii [new file with mode: 0644]
regress/usr.bin/mandoc/roff/sp/scaling-mdoc.in [new file with mode: 0644]
regress/usr.bin/mandoc/roff/sp/scaling-mdoc.out_ascii [new file with mode: 0644]
usr.bin/mandoc/term.c