[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cannot load font?
From: |
George Roman |
Subject: |
Cannot load font? |
Date: |
Sat, 15 Nov 2008 23:57:02 -0500 |
I can't get a font to load in Emacs, yet Emacs sees the font and the
font works fine with xterm.
Background: I'm running Xming on Vista and have installed the Dina PCF
fonts. I can login to my Linux server and start xfontsel, selecting a
Dina font. I can start an xterm and use the Dina font that I selected.
When I start Emacs (v22.1/CentOS), I see the Dina fonts listed with
(x-list-fonts "*dina*"), but when I try to use one with
(set-face-font 'default
"-windows-dina-medium-r-normal-*-16-100-96-96-c-80-microsoft-cp1252")
or
(set-default-font
"-windows-dina-medium-r-normal-*-16-100-96-96-c-80-microsoft-cp1252"
nil)
Emacs loads
-adobe-courier-medium-r-normal--17-120-100-100-m-100-iso8859-1
instead.
What am I doing wrong? And why do xterm, xfontsel, and xfd all display
the Dina font just fine?
- Cannot load font?,
George Roman <=