Red Hat Bugzilla – Bug 449298
xpdf uses non-existing sizes of helvetica and courier fonts
Last modified: 2008-07-03 23:41:34 EDT
When running xpdf, I always get the following warnings:
Warning: Cannot convert string
"-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-courier-medium-r-*-12-*-*-*-*-*-iso8859-1" to
This is the same error as was fixed in bug 250709, but it has reappeared with
different fonts. Doing xlsfonts | egrep -i
'(helvetica|courier)-medium-r.*iso8859-1' shows that point size 12 does not
exist in Fedora 9. The closest sizes are 11 and 14. The attached patch makes
xpdf use font size 11 for both helvetica and courier, which makes the problem go
This problem has been verified on Fedora 9 x86-64 using xpdf 3.02-6. It can be
reproduced every time by simply typing "xpdf".
Created attachment 307323 [details]
Make xpdf use 11 point fonts instead of non-existing 12 point fonts
Turns out that the 12 point fonts _do_ exist in Fedora 9 (in the 75 dpi
package), but they have to be installed manually:
yum install xorg-x11-fonts-ISO8859-1-75dpi
I withdraw my suggested patch since the problem lies in xpdf's RPM dependencies,
not in xpdf's source code.
Ahh, okay. That makes a lot more sense. :) I'll fix that up.
xpdf-3.02-7.fc8 has been submitted as an update for Fedora 8
xpdf-3.02-7.fc9 has been submitted as an update for Fedora 9
xpdf-3.02-7.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
xpdf-3.02-7.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.