www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/07/23/10:53:18

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7BF283857722
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1690123997;
bh=KLgAfXni08qAOBmK7qGS7JQ2LhRFdgZ3a5FpqmISVYE=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=j4Fr/Zf5js8LddLQsYw/9ahaIi2s035ZYd9VHv2gl53AOIJZk8Og7NRuTPxehg6AD
7pBfpZ9aHE3m9QUpsLrDC3hpzit9rH6/7Vi/IXKA0Fu/XUcxyKQ1e0BuQwcY/udtF6
Ves/zfU4ctDyShc0thUhy41G4B2mCT/CYdHIJ9i8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1D0893858D28
Subject: Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1
To: cygwin AT cygwin DOT com
References: <announce DOT 87351nsr2f DOT fsf AT Rainer DOT invalid>
<128e9daf-448c-ce0f-4eac-4fc76756657d AT t-online DOT de>
<87edkyyjec DOT fsf AT Rainer DOT invalid>
<ff27b99b-61c2-8df5-1e3a-663e4d401c52 AT t-online DOT de>
Message-ID: <dd273012-4c24-fbf4-253f-31215c55d558@t-online.de>
Date: Sun, 23 Jul 2023 16:52:55 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
SeaMonkey/2.53.16
MIME-Version: 1.0
In-Reply-To: <ff27b99b-61c2-8df5-1e3a-663e4d401c52@t-online.de>
X-TOI-EXPURGATEID: 150726::1690123976-819CC980-538143ED/0/0 CLEAN NORMAL
X-TOI-MSGID: 7b94fbcf-7245-4298-ab96-a1435e4acacb
X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, FREEMAIL_FROM,
KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A,
RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Christian Franke via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Christian Franke <Christian DOT Franke AT t-online DOT de>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 36NErI9M011178

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 AT 0 SF -.4(TO)72 48 S(OL).4 E/F1 10/Helvetica AT 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 AT 0 SF -.219(NA)72 84 S(ME).219 E/F3 10/Times-Roman AT 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 AT 0 SF -.4(TO)72 48 S(OL).4 E/F1 10/Helvetica AT 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 AT 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


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019