unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "George Roman" <glroman@gmail.com>
To: <help-gnu-emacs@gnu.org>
Subject: Cannot load font?
Date: Sat, 15 Nov 2008 23:57:02 -0500	[thread overview]
Message-ID: <C2E62A926C7848F68C2D7D88AC005E73@franc> (raw)

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?





             reply	other threads:[~2008-11-16  4:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-16  4:57 George Roman [this message]
2008-11-16 11:04 ` Cannot load font? Peter Dyballa
2008-11-16 20:40   ` George Roman
2008-11-17 12:06     ` Peter Dyballa
2008-11-24  5:08       ` George Roman
2008-11-24  9:37         ` Peter Dyballa
     [not found]       ` <mailman.1084.1227504373.26697.help-gnu-emacs@gnu.org>
2008-11-24 22:26         ` Tim X
     [not found] <mailman.503.1226823175.26697.help-gnu-emacs@gnu.org>
2008-11-16 17:02 ` Marc Tfardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C2E62A926C7848F68C2D7D88AC005E73@franc \
    --to=glroman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).