all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs (mswindows) font problem
@ 2002-09-01 11:33 Jon Kvebaek
  2002-09-05 18:26 ` Jason Rumney
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Kvebaek @ 2002-09-01 11:33 UTC (permalink / raw)


Hi - I really like the gamow font from
http://dreamer.nitro.dk/linux/lfp/lfpfonts-win.html

I use it under linux, but am unable to get emacs to display it under
windows. The windows version of the font is called gamow-14 (or
gamow-10), and comes in .fon files (gamow-14-m-r.fon,
gamow-10-m-r.fon).

The font displays in the font menu (shit-lmouse), but if I select it I
just get a default courier font.

Any ideas?
-- 
"Reality is that which, when you stop believing in it, doesn't go away."
 -- Philip K. Dick, "How to Build a Universe"

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

* Re: emacs (mswindows) font problem
  2002-09-01 11:33 emacs (mswindows) font problem Jon Kvebaek
@ 2002-09-05 18:26 ` Jason Rumney
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Rumney @ 2002-09-05 18:26 UTC (permalink / raw)


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

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

end of thread, other threads:[~2002-09-05 18:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-01 11:33 emacs (mswindows) font problem Jon Kvebaek
2002-09-05 18:26 ` Jason Rumney

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.