all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@btinternet.co>
Subject: Re: emacs (mswindows) font problem
Date: Thu, 5 Sep 2002 18:26:59 +0000 (UTC)	[thread overview]
Message-ID: <m27ki1y0il.fsf@nyaumo.btinternet.com> (raw)
In-Reply-To: vg5q6j21.fsf@nihilum.net

Jon Kvebaek <usenet@nihilum.net> writes:

> Hi - I really like the gamow font from
> http://dreamer.nitro.dk/linux/lfp/lfpfonts-win.html
> 
...
> The font displays in the font menu (shit-lmouse), but if I select it I
> just get a default courier font.
> 
> Any ideas?

The problem stems from the fact that Emacs always uses a Latin-1 font
to display ASCII unless you go to the trouble of making a fontset.

The font has a non-standard value for its encoding.  One way to get it
to display would be to load the font into a font editor, and change
the encoding field to ANSI (the Windows equivalent of Latin-1).

Another way that does not involve changing the font is to define a
fontset using that font as the base:

(set-default-font (create-fontset-from-ascii-font "FONTNAME"))

or to have newly created frames use the font:

(add-to-list 'default-frame-alist 
             `(font . ,(create-fontset-from-ascii-font "FONTNAME")))

Where FONTNAME should be replaced by the full name of the font, which
on MS-Windows is reported by (w32-select-font) C-x C-e.


-- 
Jason Rumney

      reply	other threads:[~2002-09-05 18:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-01 11:33 emacs (mswindows) font problem Jon Kvebaek
2002-09-05 18:26 ` Jason Rumney [this message]

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

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

  git send-email \
    --in-reply-to=m27ki1y0il.fsf@nyaumo.btinternet.com \
    --to=jasonr@btinternet.co \
    /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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.