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.
Fixed.
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_.
(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?
(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.