[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] Font mixup.
From: |
Jason Rumney |
Subject: |
Re: [h-e-w] Font mixup. |
Date: |
17 Nov 2001 13:10:31 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 |
Dan Schmidt <address@hidden> writes:
> Anders Lindgren <address@hidden> writes:
>
> | I just upgraded from Emacs 20 to 21 and realized that my favourite
> | font is no longer available.
> |
> | Or rather, the font menu (Shift-Left Mouse Button) correctly finds it
> | and displays it as a correct sample. However, whenever I selects it
> | emacs will reder itself using a totally different font.
> |
> | The font in question is Terminal Regular of size 6, as returned by
> | w32-select-font:
> |
> | "-raster-Terminal-normal-r-normal-normal-8-60-96-96-c-*-ms-oemlatin"
>
> Yeah, I can't use it anymore either, and I think someone else
> complained about the same thing on gnu.emacs.help or comp.emacs.
> I am sad.
A workaround appears to be to use
(set-frame-font (create-fontset-from-fontset-spec FONTNAME))
instead of
(set-frame-font FONTNAME)
Or
(add-to-list 'default-frame-alist
(cons 'font (create-fontset-from-fontset-spec FONTNAME)))
instead of
(add-to-list 'default-frame-alist '(font . FONTNAME))
--
Jason Rumney