Index: term_ps.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/term_ps.c,v retrieving revision 1.62 diff -u -p -r1.62 term_ps.c --- term_ps.c 1 Aug 2014 19:25:52 -0000 1.62 +++ term_ps.c 9 Aug 2014 16:59:03 -0000 @@ -1145,6 +1145,9 @@ ps_hspan(const struct termp *p, const st case SCALE_VS: r = su->scale * p->ps->lineheight; break; + case SCALE_BU: + r = PNT2AFM(p, su->scale / 3.0); + break; default: r = su->scale; break; Index: term_ascii.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/term_ascii.c,v retrieving revision 1.27 diff -u -p -r1.27 term_ascii.c --- term_ascii.c 1 Aug 2014 19:25:52 -0000 1.27 +++ term_ascii.c 9 Aug 2014 16:59:04 -0000 @@ -255,6 +255,9 @@ ascii_hspan(const struct termp *p, const case SCALE_VS: r = su->scale * 2.0 - 1.0; break; + case SCALE_BU: + r = su->scale / 24.0; + break; default: r = su->scale; break; Index: term.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/term.c,v retrieving revision 1.226 diff -u -p -r1.226 term.c --- term.c 1 Aug 2014 19:38:29 -0000 1.226 +++ term.c 9 Aug 2014 16:59:04 -0000 @@ -786,6 +786,9 @@ term_vspan(const struct termp *p, const case SCALE_VS: r = su->scale; break; + case SCALE_BU: + r = su->scale / 24.0; + break; default: r = su->scale - 1.0; break; Index: html.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/html.c,v retrieving revision 1.159 diff -u -p -r1.159 html.c --- html.c 23 Jul 2014 15:00:08 -0000 1.159 +++ html.c 9 Aug 2014 16:59:04 -0000 @@ -761,6 +761,8 @@ bufcat_su(struct html *h, const char *p, v = su->scale; if (SCALE_MM == su->unit && 0.0 == (v /= 100.0)) v = 1.0; + if (SCALE_BU == su->unit) + v /= 24.0; bufcat_fmt(h, "%s: %.2f%s;", p, v, roffscales[su->unit]); }