From: Christian Franke <Christian.Franke@t-online.de>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1
Date: Sun, 23 Jul 2023 16:52:55 +0200 [thread overview]
Message-ID: <dd273012-4c24-fbf4-253f-31215c55d558@t-online.de> (raw)
In-Reply-To: <ff27b99b-61c2-8df5-1e3a-663e4d401c52@t-online.de>
Christian Franke via Cygwin wrote:
> ...
>>> - Man pages could no longer be formatted with a specific font. Only
>>> header and footer lines use the selected font then, the rest stays
>>> at the default font 'T':
>> […]
>>> Intentional change or regression?
>> IDK, ask upstream.
>
> OK, will do. Didn't find anything similar here:
> https://savannah.gnu.org/bugs/?group=groff
>
> IMO a regression, obvious in the postscript output:
>
> $ groff -man -T ps -f H <<EOF
> .TH TOOL "1" "2023-07-23" "Toolset" "Section"
> .SH NAME
> Tool \- do something interesting
> EOF
> ...
> %%EndPageSetup
> /F0 10/Helvetica-Oblique@0 SF -.4(TO)72 48 S(OL).4 E/F1 10/Helvetica@0
> SF 174.995(\(1\) Section).5 F F0 -.4(TO)177.775 G(OL).4 E F1(\(1\)).5 E
> /F2 10.95/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E/F3 10/Times-Roman@0
> SF -.8(To)108 96 S(ol \255 do something interesting).8 E F1 -1.2(To)72
> 768 S 174.06(olset 2023-07-23)1.2 F(1)202.87 E 0 Cg EP
> %%Trailer
> ...
>
> /Times-* should not appear above.
Found the issue: T(imes) is unconditionally stored to a variable which
is used by SH macro:
$ cat /usr/share/groff/1.23.0/tmac/an.tmac
...
.de1 SH
. fam \\*[an*body-family]
...
.ds an*body-family T \" Times
...
Fixed upstream in:
http://git.savannah.gnu.org/cgit/groff.git/commit/tmac/an.tmac?id=6e03ad16ea8ed053fbffb5296d2670d6cdb4e931
Postscript output looks sane then:
%%EndPageSetup
/F0 10/Helvetica-Oblique@0 SF -.4(TO)72 48 S(OL).4 E/F1 10/Helvetica@0
SF 174.995(\(1\) Section).5 F F0 -.4(TO)177.775 G(OL).4 E F1(\(1\)).5 E
/F2 10.95/Helvetica-Bold@0 SF(NAME)72 84 Q F1 -1.2(To)108 96 S
(ol \255 do something interesting)1.2 E -1.2(To)72 768 S 174.06
(olset 2023-07-23)1.2 F(1)202.87 E 0 Cg EP
%%Trailer
--
Regards,
Christian
next prev parent reply other threads:[~2023-07-23 14:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-16 17:29 ASSI
2023-07-22 21:27 ` Christian Franke
2023-07-23 1:35 ` Brian Inglis
2023-07-23 11:08 ` ASSI
2023-07-23 13:55 ` Christian Franke
2023-07-23 14:52 ` Christian Franke [this message]
2023-07-23 15:35 ` ASSI
2023-07-23 15:34 ` ASSI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dd273012-4c24-fbf4-253f-31215c55d558@t-online.de \
--to=christian.franke@t-online.de \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).