Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113394 - emacs & modular Xorg: emacs depends on font-adobe-75dpi
Summary: emacs & modular Xorg: emacs depends on font-adobe-75dpi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-23 13:40 UTC by Tiziano Müller (RETIRED)
Modified: 2009-05-05 07:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2005-11-23 13:40:38 UTC
Used versions: xorg-x11 7.0.0_rc2, emacs 21.4-r1, gnome 2.12.1, Gentoo 2005.1 ~x86



Reproducible: Always
Steps to Reproduce:
When I started emacs from the console in gnome, I got the following warnings:

Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*"
to type FontStruct
Warning: Cannot convert string
"-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct

And emacs showed me a lot of that little squares instead of some text.


Actual Results:  
Then I emerged font-adobe-75dpi (for other people it also might be 100dpi) and
emacs worked again.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-12-11 19:52:06 UTC
Fixed.
Comment 2 Ulrich Müller gentoo-dev 2006-02-09 07:24:35 UTC
That does not help at all if Emacs and X server are running on different machines.

Fonts belong to the X _server_ and should IMHO not be pulled by an X _client_.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-09 12:58:23 UTC
(In reply to comment #2)
> That does not help at all if Emacs and X server are running on different
> machines.
> 
> Fonts belong to the X _server_ and should IMHO not be pulled by an X _client_.

Yes, you are correct, but I like to have the 90% use case work. Do you have a better suggestion that allows emacs to work by default when run locally?
Comment 4 Ulrich Müller gentoo-dev 2006-02-09 13:45:08 UTC
(In reply to comment #3)
> > Fonts belong to the X _server_ and should IMHO not be pulled by an X _client_.
>
> Yes, you are correct, but I like to have the 90% use case work.

By the same argument, you should add xorg-server to Emacs's RDEPEND, too. What is the point of modular X, then?

> Do you have a better suggestion that allows emacs to work by default when
> run locally?

Maybe add the fonts as dependency of xorg-server or xorg-x11?

font-adobe-100dpi is already in RDEPEND of xorg-x11, BTW.