help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] can't get fixed-width fonts from X to work with NTemacs


From: Jason Rumney
Subject: Re: [h-e-w] can't get fixed-width fonts from X to work with NTemacs
Date: Thu, 27 Apr 2006 18:21:04 +0100
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

Robert A. Lerche wrote:
"-*-6x13-normal-r-*-*-13-97-*-*-c-60-*-#44-".
The problem is an invalid charset field (the final "-*-#44-"), so Emacs does not know what characters that font covers. In Emacs 20 you had to always specify which fonts to use for which charsets in a fontset, otherwise Emacs assumed the font should be used for latin-1. In Emacs 21, you still have the option to specify everything yourself in a fontset, but the default is now for Emacs to figure out what fonts to use itself based on the charset field for the font.

To override Emacs, you'll have to create a fontset, and explicitly override the latin-1 font. Try:

(create-fontset-from-fontset-spec "-*-6x13-normal-r-*-*-13-*-*-*-c-*-fontset-6x13,
latin-1: -*-6x13-normal-r-*-*-*-97-*-*-c-*-*-#44")



If that does not work, try putting the following in *scratch* and press Ctrl-J after it.

(x-list-fonts "-*-6x13-*")

This should tell you if the name of the font has changed between versions of Emacs (beyond the trivial change of dropping the final '-').





reply via email to

[Prev in Thread] Current Thread [Next in Thread]