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

--
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

Reply via email to