Bug#1038400: /usr/share/perl/.../Pod/Man.pm: String C+: use '\s+2' not '\s0'

Russ Allbery rra at debian.org
Tue Jul 18 18:39:30 BST 2023


Bjarni Ingi Gislason <bjarniig at simnet.is> writes:

> Dear Maintainer,

>   wrong type size is created with, for example in gcc(1),

> .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'

> combined with

> \s-1ISO \*(C+\s0

> #####

> Do not use "\s0" in a string definition but an absolute number,
> as the size of the string could be changed.
> Then a situation of "\s-X...\s-Y...\s0...\s0" could emerge.
> Type size changes have an effect in "groff", but not in "nroff".

I believe this is fixed in Perl 5.8, currently in experimental, which I
believe includes the latest podlators.  All of this size manipulation
code, and the C++ macro, have been removed in podlators 5.00, which drops
all of the troff-specific guesswork formatting.  It has proven much to
difficult to maintain and has created lots problems for fairly minor
formatting benefits.

-- 
Russ Allbery (rra at debian.org)              <https://www.eyrie.org/~eagle/>




More information about the Perl-maintainers mailing list