Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139123

Summary: Modular xorg can't find lucida* fonts
Product: Gentoo Linux Reporter: Joshua Rich <joshua.rich>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Xorg Log
Output of emerge --info

Description Joshua Rich 2006-07-03 23:49:13 UTC
Programs/Packages Involved:
==================
Modular Xorg
CVS Emacs
Adobe Fonts (100 dpi)

Problem:
========
After the update to modular xorg, emacs would not load, returned error message:

"Could not find the font lucidasanstypewriter-14"

Emacs could run from a console/terminal, but not in it's own X window.

Installed xlsfonts, ran xlsfonts, and observed that the lucida fonts did not show up.  

Installed xset and ran xset +fp /usr/share/fonts/100dpi and xset fp rehash.  xlsfonts still showed no lucida fonts.  

Checked xorg log, no complaints of missing fonts from that directory (attached to bug report below).  According to http://xorg.freedesktop.org/releases/X11R6.9.0/doc/html/fonts2.html this font should be loaded with the "bitmap" module.  This module loads fine (see log below).

Ran fc-cache, mkfontdir, mkfontscale on /usr/share/fonts/100dpi.  Emacs still produces error.

Revdep-rebuild reported no libraries/programs needed to be rebuilt.

Downgraded back to Xorg version 6.8.  Restarted X and ran emacs.  Emacs loads fine and no errors occur.  Font is visible to this X version.

How To Reproduce:
=================

Add the following line to your .Xdefaults file:

emacs*font:                             lucidasanstypewriter-14

And reload (xrdb -load ~/.Xdefaults).  Then run emacs.  Or specify the font from the command line with:

emacs -fn "lucidasanstypewriter-14"
Comment 1 Joshua Rich 2006-07-03 23:50:39 UTC
Created attachment 90826 [details]
Xorg Log

Xorg Log as referenced in bug report
Comment 2 Joshua Rich 2006-07-03 23:51:10 UTC
Created attachment 90827 [details]
Output of emerge --info
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-03 23:53:22 UTC
media-fonts/font-bh-lucidatypewriter-100dpi
media-fonts/font-bh-lucidatypewriter-75dpi

Emerge it.
Comment 4 Joshua Rich 2006-07-04 16:43:02 UTC
Aha!  I missed installing those font packages.  Thankyou for the quick fix!
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-04 16:45:24 UTC
No problem, closing. ;)