"Config Error" on startup. Documents that use the PostScript fonts display without any text. I can't attach an example, all the ones I have contain personal information. Fixable with an .xpdfrc pointing into media-fonts/urw-fonts, but xpdf should work out of the box. Reproducible: Always Steps to Reproduce: 1. Launch xpdf without an ~/.xpdfrc file. Actual Results: To stderr: Config Error: No display font for 'Courier' Config Error: No display font for 'Courier-Bold' Config Error: No display font for 'Courier-BoldOblique' Config Error: No display font for 'Courier-Oblique' Config Error: No display font for 'Helvetica' Config Error: No display font for 'Helvetica-Bold' Config Error: No display font for 'Helvetica-BoldOblique' Config Error: No display font for 'Helvetica-Oblique' Config Error: No display font for 'Symbol' Config Error: No display font for 'Times-Bold' Config Error: No display font for 'Times-BoldItalic' Config Error: No display font for 'Times-Italic' Config Error: No display font for 'Times-Roman' Config Error: No display font for 'ZapfDingbats' Expected Results: No error message on startup, text displayed properly. I use an /etc/portage/patches cloned from https://bugzilla.redhat.com/attachment.cgi?id=1348491&action=diff . Will attach.
Created attachment 873611 [details, diff] xpdf/GlobalParams.cc: update paths to the URW font files. Stolen from https://bugzilla.redhat.com/attachment.cgi?id=1348491&action=diff , directory path adjusted for Gentoo. You may want to fix doc/xpdfrc as well.
I can confirm putting the attached patch into /etc/portage/patches/app-text/xpdf-4.04-r1/ fixes the described problem. No idea why the problem occured just now: According to urw-base35-fonts.git history, these oddly named pfb files xpdfrc lists were dropped in 2016 already. Anyway, thanks Pierre for reporting here - my own research about the problem cause did not discover rhbz#1509862 nor any other report clarifying what's going on.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501e2c8dc84171930394db872cb3cf145997d57b commit 501e2c8dc84171930394db872cb3cf145997d57b Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-05 14:37:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-05 14:37:30 +0000 app-text/xpdf: fix urw font paths Closes: https://bugs.gentoo.org/916446 Signed-off-by: Sam James <sam@gentoo.org> app-text/xpdf/files/xpdf-4.04-font-paths.patch | 48 ++++++++ app-text/xpdf/xpdf-4.04-r2.ebuild | 163 +++++++++++++++++++++++++ 2 files changed, 211 insertions(+)
Applied, thanks. I've not done the doc fixup as I'm sort of doing this driveby.