Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

xpdf - missing fonts

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

xpdf - missing fonts

  • Quote

Post by Joseph_sys » Tue Jan 03, 2012 6:48 pm

When I open document with xpdf it complains about missing fonts

Code: Select all

xpdf hl5370d_ukeng_usr.pdf 
Error: No display font for 'Courier'
Error: No display font for 'Courier-Bold'
Error: No display font for 'Courier-BoldOblique'
Error: No display font for 'Courier-Oblique'
Error: No display font for 'Helvetica'
Error: No display font for 'Helvetica-Bold'
Error: No display font for 'Helvetica-BoldOblique'
Error: No display font for 'Helvetica-Oblique'
Error: No display font for 'Symbol'
Error: No display font for 'Times-Bold'
Error: No display font for 'Times-BoldItalic'
Error: No display font for 'Times-Italic'
Error: No display font for 'Times-Roman'
Error: No display font for 'ZapfDingbats'
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-efont-biwidth-medium-r-normal--14-*-*-*-*-*-*-*,        -gnu-unifont-medium-r-normal--16-*-*-*-p-*-*-*,   -adobe-helvetica-medium-r-normal-*-14-*-*-*-p-*-iso10646-1,   -adobe-helvetica-medium-r-normal-*-14-*-*-*-p-*-iso8859-*,  -cronyx-helvetica-medium-r-normal-*-14-*-*-*-p-*-koi8-r,          -*-lucida-medium-r-normal-*-14-*-*-*-p-*-iso8859-*,               -*-*-medium-r-normal-*-14-*-*-*-p-*-*-*,               -*-*-medium-r-normal-*-16-*-*-*-p-*-*-*,                         -*-*-*-*-*-*-14-*-*-*-*-*-*-*,                         -*-*-*-*-*-*-16-*-*-*-*-*-*-*,*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-efont-biwidth-medium-i-normal--24-*-*-*-p-*-iso10646-1,-*-times-bold-i-normal--18-*-*-*-*-*-iso10646-1,-*-times-bold-i-normal--18-*-*-*-*-*-iso8859-*,-*-*-medium-i-normal--24-*-*-*-c-*-*-*,-*-*-medium-r-normal--24-*-*-*-c-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-efont-biwidth-medium-r-normal--14-*-*-*-p-*-iso10646-1,-*-times-medium-r-normal--14-*-*-*-*-*-iso10646-1,-*-times-medium-r-normal--14-*-*-*-*-*-iso8859-*,-*-*-medium-r-normal--14-*-*-*-c-*-*-*,-*-*-medium-r-normal--16-*-*-*-c-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-efont-biwidth-medium-r-normal--12-*-*-*-p-*-iso10646-1,-*-courier-medium-r-normal--12-*-*-*-*-*-iso10646-1,-*-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1,-*-*-medium-r-normal--12-*-*-*-c-*-*-*,-*-*-medium-r-normal--16-*-*-*-c-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
How to install them?
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Wed Jan 04, 2012 11:17 pm

Those fonts should be included in the 'corefonts' package.
www.gentoo.org.au || #gentoo-au
Top
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

  • Quote

Post by Joseph_sys » Wed Jan 04, 2012 11:23 pm

mark_alec wrote:Those fonts should be included in the 'corefonts' package.
Yes, they are but xpdf doesn't link to them correctly, xpdf should be looking for them in:
/usr/share/fonts/urw-fonts/

adding to xpdfrc helps

Code: Select all

displayFontT1 Times-Roman		/usr/share/fonts/urw-fonts/n021003l.pfb
displayFontT1 Times-Italic		/usr/share/fonts/urw-fonts/n021023l.pfb
displayFontT1 Times-Bold		/usr/share/fonts/urw-fonts/n021004l.pfb
displayFontT1 Times-BoldItalic		/usr/share/fonts/urw-fonts/n021024l.pfb
displayFontT1 Helvetica			/usr/share/fonts/urw-fonts/n019003l.pfb
displayFontT1 Helvetica-Oblique		/usr/share/fonts/urw-fonts/n019023l.pfb
displayFontT1 Helvetica-Bold		/usr/share/fonts/urw-fonts/n019004l.pfb
displayFontT1 Helvetica-BoldOblique	/usr/share/fonts/urw-fonts/n019024l.pfb
displayFontT1 Courier			/usr/share/fonts/urw-fonts/n022003l.pfb
displayFontT1 Courier-Oblique		/usr/share/fonts/urw-fonts/n022023l.pfb
displayFontT1 Courier-Bold		/usr/share/fonts/urw-fonts/n022004l.pfb
displayFontT1 Courier-BoldOblique	/usr/share/fonts/urw-fonts/n022024l.pfb
displayFontT1 Symbol			/usr/share/fonts/urw-fonts/s050000l.pfb
displayFontT1 ZapfDingbats		/usr/share/fonts/urw-fonts/d050000l.pfb
But my flpsed doesn't scale the fonts correctly I don't know if there is any relation to it.
Top
helio
Apprentice
Apprentice
Posts: 252
Joined: Sat Apr 08, 2006 11:16 pm

  • Quote

Post by helio » Sun Jan 26, 2014 3:55 pm

I find this post very helpful. The only update worth mentioning is that as of now the displayFontT1 has to be replaced by fontFile in the xpdfrc file in order to make fonts work in xpdf.

Nonetheless, I still get the following warnings that I don't know how to get rid of:

Warning: Cannot convert string "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-times-bold-i-normal--20-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-times-medium-r-normal--16-*-*-*-*-*-iso8859-1" to type FontStruct

Any suggestions?
Joseph_sys wrote:
mark_alec wrote:Those fonts should be included in the 'corefonts' package.
Yes, they are but xpdf doesn't link to them correctly, xpdf should be looking for them in:
/usr/share/fonts/urw-fonts/

adding to xpdfrc helps

Code: Select all

displayFontT1 Times-Roman		/usr/share/fonts/urw-fonts/n021003l.pfb
displayFontT1 Times-Italic		/usr/share/fonts/urw-fonts/n021023l.pfb
displayFontT1 Times-Bold		/usr/share/fonts/urw-fonts/n021004l.pfb
displayFontT1 Times-BoldItalic		/usr/share/fonts/urw-fonts/n021024l.pfb
displayFontT1 Helvetica			/usr/share/fonts/urw-fonts/n019003l.pfb
displayFontT1 Helvetica-Oblique		/usr/share/fonts/urw-fonts/n019023l.pfb
displayFontT1 Helvetica-Bold		/usr/share/fonts/urw-fonts/n019004l.pfb
displayFontT1 Helvetica-BoldOblique	/usr/share/fonts/urw-fonts/n019024l.pfb
displayFontT1 Courier			/usr/share/fonts/urw-fonts/n022003l.pfb
displayFontT1 Courier-Oblique		/usr/share/fonts/urw-fonts/n022023l.pfb
displayFontT1 Courier-Bold		/usr/share/fonts/urw-fonts/n022004l.pfb
displayFontT1 Courier-BoldOblique	/usr/share/fonts/urw-fonts/n022024l.pfb
displayFontT1 Symbol			/usr/share/fonts/urw-fonts/s050000l.pfb
displayFontT1 ZapfDingbats		/usr/share/fonts/urw-fonts/d050000l.pfb
But my flpsed doesn't scale the fonts correctly I don't know if there is any relation to it.
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Sun Jan 26, 2014 6:55 pm

helio wrote:in the xpdfrc file in order to make fonts work in xpdf
I got a similar issue with qpdfview. Of course, I do not expect that writing xpdfrc will solve the problem for qpdfview.
The strange thing is that despite of the error messages everything seems to be displayed correctly, but OTOH maybe I just do not know how it should look like...
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic