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

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

bdf fonts in EmacsW32 ?


From: Sergei
Subject: bdf fonts in EmacsW32 ?
Date: Wed, 11 Jun 2008 02:07:36 -0700 (PDT)
User-agent: G2/1.0

More or less according to the EmacsNT FAQ, I used to use my bdf font
under "GNU Emacs 21.1.1 (i386-msvc-nt5.1.2600) of 2001-10-22".

For this end I had this in my .emacs :

,----
| (setq bdf-directory-list
|       '("c:/cygwin/usr/local/etc/fonts"
|         "//tsclient/C/cygwin/usr/local/etc/fonts"))
| (setq w32-bdf-filename-alist
|       (w32-find-bdf-fonts bdf-directory-list))
| (create-fontset-from-fontset-spec
|       "-*-fixed-medium-r-normal-*-18-*-*-*-c-*-fontset-bdf,
| utf-8:-*-fixed-medium-r-normal-*-18-*-*-*-c-*-iso10646-1" t)
| (set-default-font "fontset-bdf")
| (add-to-list 'default-frame-alist '(font . "fontset-bdf"))
`----

Now I want to use the same fonts for a newer EmacsW32
"GNU Emacs 23.0.61 (i386-mingw-nt5.1.2600) of 2008-03-25"
-- and this arrangement does not work :(

I see the font specs if I evaluate
(x-list-fonts "-*-fixed-medium-*")
but
(set-default-font "fontset-bdf") and
(add-to-list 'default-frame-alist '(font . "fontset-bdf"))
return nil, and creating new frame results in the error message:
"set-frame-font: Font `fontset-bdf' is not defined"

What am I doing wrong?

--
Sergei


reply via email to

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