unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs Display Recangular blocks instead of fonts
@ 2013-05-26 23:32 Kumar, Amit
  2013-05-27  2:03 ` Stefan Monnier
  2013-05-27  2:43 ` Stephen J. Turnbull
  0 siblings, 2 replies; 10+ messages in thread
From: Kumar, Amit @ 2013-05-26 23:32 UTC (permalink / raw)
  To: emacs-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 3285 bytes --]

Dear All,

I am here is a deadlock situation and can't figure out this font problem: I have extensively looked online for a solution and none seems to work, and have been very disturbed by the fact that I can get this to work.
I get this very famous error, but my efforts have been futile to fix this:
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

What I don't understand is why is emacs resorting to these fonts, if it has problems can't it use some other fonts to display a normal screen? Instead it displays rectangular boxes for each letter.
Below here are the details of the version of the OS and packages installed and further details. Hope you can help me understand the problem that can lead me to a solution, and make me feel better in helping me fix this. It has been a day-mare!
Best Regards,
Amit


Linux: Scientific Linux SL release 5.5
$ rpm -qa | grep emacs
emacs-common-21.4-20.el5
emacspeak-23.0-3.el5
emacs-21.4-20.el5
emacs-leim-21.4-20.el5
$ rpm -qa | grep fonts
xorg-x11-fonts-misc-7.1-2.1.el5
xorg-x11-fonts-ISO8859-15-100dpi-7.1-2.1.el5
bitstream-vera-fonts-1.10-7
xorg-x11-fonts-ISO8859-1-75dpi-7.1-2.1.el5
xorg-x11-fonts-Type1-7.1-2.1.el5
xorg-x11-fonts-ISO8859-15-75dpi-7.1-2.1.el5
urw-fonts-2.3-6.1.1
xorg-x11-fonts-ISO8859-2-75dpi-7.1-2.1.el5
xorg-x11-fonts-ISO8859-9-100dpi-7.1-2.1.el5
xorg-x11-fonts-ISO8859-9-75dpi-7.1-2.1.el5
xorg-x11-fonts-ISO8859-14-100dpi-7.1-2.1.el5
xorg-x11-fonts-100dpi-7.1-2.1.el5
xorg-x11-fonts-syriac-7.1-2.1.el5
xorg-x11-fonts-ISO8859-14-75dpi-7.1-2.1.el5
xorg-x11-fonts-base-7.1-2.1.el5
xorg-x11-fonts-75dpi-7.1-2.1.el5
ghostscript-fonts-5.50-13.1.1
tetex-fonts-3.0-33.8.el5_5.5
xorg-x11-fonts-ISO8859-1-100dpi-7.1-2.1.el5
xorg-x11-fonts-truetype-7.1-2.1.el5
xorg-x11-fonts-cyrillic-7.1-2.1.el5
liberation-fonts-1.0-1.el5
xorg-x11-fonts-ethiopic-7.1-2.1.el5
xorg-x11-fonts-ISO8859-2-100dpi-7.1-2.1.el5


Fonts directory listed in /etc/fonts/fonts.conf
.....
<!-- Font directory list -->
  <dir>/usr/share/fonts</dir>
  <dir>/usr/share/X11/fonts/Type1</dir>
  <dir>/usr/share/X11/fonts/OTF</dir>
  <dir>/usr/share/X11/fonts/100dpi</dir>
  <dir>/usr/share/X11/fonts/75dpi</dir>
  <dir>/usr/share/X11/fonts/cyrillic</dir>
  <dir>/usr/share/X11/fonts/encodings</dir>
  <dir>/usr/share/X11/fonts/misc</dir>
  <dir>/usr/share/X11/fonts/TTF</dir>
  <dir>/usr/share/X11/fonts/util</dir>
  <dir>~/.fonts</dir>
....
Directory contents:
$ ls /usr/share/fonts/
bitstream-vera  default  java  liberation
$ ls /usr/share/X11/fonts/
100dpi  75dpi  cyrillic  encodings  misc  OTF  TTF  Type1  util

I also ran `fc-cache -f -s -v`  in addition to `xset fp rehash` to clean up cache and rehash it.

$ fc-list | grep -i "courier"
Courier:style=Bold Italic
Courier:style=Regular
Courier 10 Pitch:style=Bold Italic
Courier:style=Oblique
Courier 10 Pitch:style=Italic
Courier:style=Bold Oblique
Courier 10 Pitch:style=Regular
Courier:style=Italic
Courier 10 Pitch:style=Bold

$ fc-list | grep -i helvetica
Helvetica:style=Oblique
Helvetica:style=Bold
Helvetica:style=Regular
Helvetica:style=Bold Oblique


[-- Attachment #2: Type: text/html, Size: 17163 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-05-27 14:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-26 23:32 Emacs Display Recangular blocks instead of fonts Kumar, Amit
2013-05-27  2:03 ` Stefan Monnier
2013-05-27  2:43 ` Stephen J. Turnbull
2013-05-27  7:07   ` Kumar, Amit
2013-05-27 11:12   ` Per Starbäck
2013-05-27 13:24   ` James Cloos
2013-05-27 13:42     ` Stephen J. Turnbull
2013-05-27 13:50       ` James Cloos
2013-05-27 14:10         ` Andreas Schwab
2013-05-27 14:32           ` James Cloos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).