Subject: | Man.pm: wrong point size after the string "C+" |
Date: | Sat, 26 Sep 2020 20:49:35 +0000 |
To: | bug-Debian-ModuleList [...] rt.cpan.org |
From: | Bjarni Ingi Gislason <bjarniig [...] rhi.hi.is> |
Debian package: perl-modules-5.30 and older versions
The definition of the string "C+" contains size escapes "\s-2...\s0".
That string is used in a reduced point size environment,
so the overall size changes are:
\s-1...\s-2...\s0...\s0
(The point sizes will be:
10 9 7 9 7 )
Size changes \s0...\s0 do not work correctly,
so the actual size after the second \s0 is three points lower than
expected.
Test (with "groff -a",
as "nroff" does not change the point size at all):
.ds Ex \s-2Example\s0
size of text is \n(.s
.br
Test \s-1\*(Ex something\s0
.br
size of this text is \n(.s
###
The file "Man.pm" (in Debian package perl-modules) must be corrected,
the line with the definition of the string C+ is
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
The "\s0" must be changed to "\s+2" (use the reverse absolute value)
###
The line
$1 . '\s-1' . $2 . '\s0'
similarly, the "\s0" must be change to the reverse absolute size
change "\s+1".
This change might have some effect on a later code.
--
Bjarni I. Gislason