[bug #68567] [PATCH] [devpdf] build on Manjaro Linux 23 finds wrong/inadequate URW fonts, causing test failure
"G. Branden Robinson" <[email protected]> Wed, 29 Jul 2026 01:15:44 -0400 (EDT)
| Newsgroups | gmane.comp.printing.groff.bugs |
|---|---|
| Message-ID | <[email protected]> |
--8323329-424238335-1785302144=:3640385
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
Update of bug #68567 (group groff):=0A=0A Status: =
In Progress =3D> Fixed=0A Open/Closed: O=
pen =3D> Closed=0A=0A __________________________________________________=
_____=0A=0AFollow-up Comment #4:=0A=0A=0Acommit 741f79a857ea888078c8254f85e=
c736b9c528f52=0AAuthor: Deri James <[email protected]>=0ADate: =
Mon Jul 27 15:08:06 2026 +0000=0A=0A [devpdf]: Fix Savannah #68567.=0A =
=0A Revise search for URW fonts to exclude=0A "/usr/share/ghostscri=
pt/Resource/Font".=0A =0A * font/devpdf/Foundry.in:=0A * m4/groff.=
m4 (GROFF_URW_FONTS_CHECK): Drop it.=0A =0A Systems like Arch and Man=
jaro Linux don't use Debian's approach to=0A Ghostscript and URW font pa=
ckaging. Our "configure" script should be=0A looking only for the full =
URW fonts package, not not Ghostscript's=0A "Resource/Font" directory. =
If Ghostscript is installed, we can=0A configure gropdf's "intermediate"=
service level at least, and the=0A directory will be found by "BuildFou=
ndries" when it parses the output of=0A the "gs -h" command. What "conf=
igure" should be doing is finding the=0A full URW fonts directory, and i=
f found, setting "$urwfontsdir." It=0A should not be looking for Ghosts=
cript-provided fonts at all.=0A =0A We know that if the only URW font=
s found are the ones supplied in=0A Ghostscript's "Resource" font direct=
ory, there are not going to be any=0A AFMs. `groff_have_urw_fonts` shou=
ld be set only if the PFB files are=0A found elsewhere. It suffices to =
have `$GHOSTSCRIPT !=3D "missing"` to=0A know that "intermediate" servic=
e is available.=0A =0A Tested by adding my Ghostscript "Resource/Font=
" to "groff.m4", hiding=0A real URW fonts where "configure" won't find t=
hem, and reproducing the=0A "check-urw-foundry.sh" test script failure o=
bserved on Manjaro. If I=0A then remove that directory from "groff.m4" =
it then reports=0A "intermediate" and the test passes.=0A =0A "con=
figure" could look for AFM files as well, but it is unnecessary so=0A lo=
ng as we don't search paths matching "Resource/Font".=0A =0A Fixes <h=
ttps://savannah.gnu.org/bugs/?68567>. Thanks to Bruno Haible=0A for the=
report.=0A=0A=0A=0A=0A ________________________________________________=
_______=0A=0AReply to this item at:=0A=0A <https://savannah.gnu.org/bugs/?=
68567>=0A=0A_______________________________________________=0AMessage sent =
via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-424238335-1785302144=:3640385
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCammMgAAKCRCqLAuaBUf3
TpfdAP9u/Kua1ATQ+kfhRZ/atLbfEAUlJa2JXxa+/Rif4PoUfAEAgWzhqSJLDhV7
iJ5YCPqx/IDFAKyn/1UC1HZsptpGNQc=
=GlBp
-----END PGP SIGNATURE-----
--8323329-424238335-1785302144=:3640385--