* [ANNOUNCEMENT] Updated: groff-1.23.0-1
@ 2023-07-16 17:29 ASSI
2023-07-22 21:27 ` Christian Franke
0 siblings, 1 reply; 8+ messages in thread
From: ASSI @ 2023-07-16 17:29 UTC (permalink / raw)
To: cygwin
GNU roff has been updated to the latest upstream version 1.23.0. The
following packages are available on Cygwin:
groff-1.23.0-1
groff-perl-1.23.0-1
groff-X11-1.23.0-1
Groff is a document formatting system. Groff takes standard text and
formatting commands as input and produces formatted output. The
created documents can be shown on a display or printed on a printer.
Groff's formatting commands allow you to specify font type and size,
bold type, italic type, the number and size of columns on a page, and
more.
--
*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***
If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:
cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com
If you need more information on unsubscribing, start reading here:
http://sourceware.org/lists.html#unsubscribe-simple
Please read *all* of the information on unsubscribing that is available
starting at this URL.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1
2023-07-16 17:29 [ANNOUNCEMENT] Updated: groff-1.23.0-1 ASSI
@ 2023-07-22 21:27 ` Christian Franke
2023-07-23 1:35 ` Brian Inglis
2023-07-23 11:08 ` ASSI
0 siblings, 2 replies; 8+ messages in thread
From: Christian Franke @ 2023-07-22 21:27 UTC (permalink / raw)
To: cygwin
ASSI via Cygwin wrote:
> GNU roff has been updated to the latest upstream version 1.23.0. The
> following packages are available on Cygwin:
>
> groff-1.23.0-1
> groff-perl-1.23.0-1
> groff-X11-1.23.0-1
>
- Various PDF fonts produce warnings but seem to work in general:
$ echo "Hello, World!" | groff -Tpdf -f A > hello.A.pdf
/usr/bin/gropdf: warning: The download file in
'/usr/share/groff/1.23.0/font/devpdf' has erroneous entry for
'AvantGarde-Book (AR)'
$ grep -a BaseFont hello.A.pdf
5 0 obj << /BaseFont /AvantGarde-Book
Affected are all except T(imes), H(elvetica) and C(ourier).
This script tests all PDF fonts for warnings:
===
#!/bin/sh
(cd /usr/share/groff/current/font/devpdf && ls -d *R 2>/dev/null) \
| while read f; do
f=${f%R}
echo "$f:"
echo "Hello, World!" | groff -Tpdf -f "$f" > "hello.$f.pdf"
done
===
- 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':
$ zcat /usr/share/man/man1/ls.1.gz | groff -man -Tpdf -f H > ls.1.H.pdf
$ grep -a BaseFont ls.1.H.pdf
6 0 obj << /BaseFont /Helvetica-Oblique
10 0 obj << /BaseFont /Helvetica
13 0 obj << /BaseFont /Times-Bold
16 0 obj << /BaseFont /Times-Roman
19 0 obj << /BaseFont /Times-Italic
Intentional change or regression?
--
Regards,
Christian
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1
2023-07-22 21:27 ` Christian Franke
@ 2023-07-23 1:35 ` Brian Inglis
2023-07-23 11:08 ` ASSI
1 sibling, 0 replies; 8+ messages in thread
From: Brian Inglis @ 2023-07-23 1:35 UTC (permalink / raw)
To: cygwin; +Cc: Christian Franke
On 2023-07-22 15:27, Christian Franke via Cygwin wrote:
> ASSI via Cygwin wrote:
>> GNU roff has been updated to the latest upstream version 1.23.0. The
>> following packages are available on Cygwin:
>> groff-1.23.0-1
>> groff-perl-1.23.0-1
>> groff-X11-1.23.0-1
> - Various PDF fonts produce warnings but seem to work in general:
> $ echo "Hello, World!" | groff -Tpdf -f A > hello.A.pdf
> /usr/bin/gropdf: warning: The download file in
> '/usr/share/groff/1.23.0/font/devpdf' has erroneous entry for 'AvantGarde-Book
> (AR)'
> $ grep -a BaseFont hello.A.pdf
> 5 0 obj << /BaseFont /AvantGarde-Book
> Affected are all except T(imes), H(elvetica) and C(ourier).
> This script tests all PDF fonts for warnings:
> #!/bin/sh
> (cd /usr/share/groff/current/font/devpdf && ls -d *R 2>/dev/null) \
> | while read f; do
> f=${f%R}
> echo "$f:"
> echo "Hello, World!" | groff -Tpdf -f "$f" > "hello.$f.pdf"
> done
> - 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':
> $ zcat /usr/share/man/man1/ls.1.gz | groff -man -Tpdf -f H > ls.1.H.pdf
> $ grep -a BaseFont ls.1.H.pdf
> 6 0 obj << /BaseFont /Helvetica-Oblique
> 10 0 obj << /BaseFont /Helvetica
> 13 0 obj << /BaseFont /Times-Bold
> 16 0 obj << /BaseFont /Times-Roman
> 19 0 obj << /BaseFont /Times-Italic
> Intentional change or regression?
There appears to be font alternative/fallback dependencies between groff and
ghostscript with version numbers - I have previous groff 1.22.4 and gs 10.0 so
these paths are outdated in my installation:
/usr/share/groff/1.22.4/font/devpdf/download: AvantGarde-Book
/usr/share/ghostscript/9.26/Resource/Font/URWGothic-Book
/usr/share/groff/1.22.4/font/devpdf/download: AvantGarde-BookOblique
/usr/share/ghostscript/9.26/Resource/Font/URWGothic-BookOblique
/usr/share/groff/1.22.4/font/devpdf/download: AvantGarde-Demi
/usr/share/ghostscript/9.26/Resource/Font/URWGothic-Demi
/usr/share/groff/1.22.4/font/devpdf/download: AvantGarde-DemiOblique
/usr/share/ghostscript/9.26/Resource/Font/URWGothic-DemiOblique
/usr/share/groff/1.22.4/font/devpdf/download: Bookman-Demi
/usr/share/ghostscript/9.26/Resource/Font/URWBookman-Demi
/usr/share/groff/1.22.4/font/devpdf/download: Bookman-DemiItalic
/usr/share/ghostscript/9.26/Resource/Font/URWBookman-DemiItalic
/usr/share/groff/1.22.4/font/devpdf/download: Bookman-Light
/usr/share/ghostscript/9.26/Resource/Font/URWBookman-LightItalic
/usr/share/groff/1.22.4/font/devpdf/download: Bookman-LightItalic
/usr/share/ghostscript/9.26/Resource/Font/URWBookman-Light
What do you have?
It looks like groff should check and update gs version postinstall and gs should
check for groff and update version postinstall.
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1
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
1 sibling, 1 reply; 8+ messages in thread
From: ASSI @ 2023-07-23 11:08 UTC (permalink / raw)
To: cygwin
Christian Franke via Cygwin writes:
> ASSI via Cygwin wrote:
> - Various PDF fonts produce warnings but seem to work in general:
>
> $ echo "Hello, World!" | groff -Tpdf -f A > hello.A.pdf
> /usr/bin/gropdf: warning: The download file in
> '/usr/share/groff/1.23.0/font/devpdf' has erroneous entry for
> 'AvantGarde-Book (AR)'
WJFFM. You need to have groff-perl and urw-base35-fonts-legacy
installed.
> - 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.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1
2023-07-23 11:08 ` ASSI
@ 2023-07-23 13:55 ` Christian Franke
2023-07-23 14:52 ` Christian Franke
2023-07-23 15:34 ` ASSI
0 siblings, 2 replies; 8+ messages in thread
From: Christian Franke @ 2023-07-23 13:55 UTC (permalink / raw)
To: cygwin
ASSI via Cygwin wrote:
> Christian Franke via Cygwin writes:
>> ASSI via Cygwin wrote:
>> - Various PDF fonts produce warnings but seem to work in general:
>>
>> $ echo "Hello, World!" | groff -Tpdf -f A > hello.A.pdf
>> /usr/bin/gropdf: warning: The download file in
>> '/usr/share/groff/1.23.0/font/devpdf' has erroneous entry for
>> 'AvantGarde-Book (AR)'
> WJFFM. You need to have groff-perl and urw-base35-fonts-legacy
> installed.
groff-perl is installed, otherwise groff would complain about a missing
DESC file. Installing urw-base35-fonts-legacy fixes this, thanks.
It is IMO not obvious for the occasional groff user that this package is
needed.
>
>> - 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.
--
Regards,
Christian
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1
2023-07-23 13:55 ` Christian Franke
@ 2023-07-23 14:52 ` Christian Franke
2023-07-23 15:35 ` ASSI
2023-07-23 15:34 ` ASSI
1 sibling, 1 reply; 8+ messages in thread
From: Christian Franke @ 2023-07-23 14:52 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1
2023-07-23 13:55 ` Christian Franke
2023-07-23 14:52 ` Christian Franke
@ 2023-07-23 15:34 ` ASSI
1 sibling, 0 replies; 8+ messages in thread
From: ASSI @ 2023-07-23 15:34 UTC (permalink / raw)
To: cygwin
Christian Franke via Cygwin writes:
> groff-perl is installed, otherwise groff would complain about a
> missing DESC file. Installing urw-base35-fonts-legacy fixes this,
> thanks.
>
> It is IMO not obvious for the occasional groff user that this package
> is needed.
I've added a manual dependency to the package hint file.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
DIY Stuff:
http://Synth.Stromeko.net/DIY.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1
2023-07-23 14:52 ` Christian Franke
@ 2023-07-23 15:35 ` ASSI
0 siblings, 0 replies; 8+ messages in thread
From: ASSI @ 2023-07-23 15:35 UTC (permalink / raw)
To: cygwin
Christian Franke via Cygwin writes:
>>>> - 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':
> Fixed upstream in:
> http://git.savannah.gnu.org/cgit/groff.git/commit/tmac/an.tmac?id=6e03ad16ea8ed053fbffb5296d2670d6cdb4e931
So this will be in the next upstream release, which I have an inkling is
not too far off…
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-07-23 15:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-16 17:29 [ANNOUNCEMENT] Updated: groff-1.23.0-1 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
2023-07-23 15:35 ` ASSI
2023-07-23 15:34 ` ASSI
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).