all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sergei <sergio.pokrovskij@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: bdf fonts in EmacsW32 ?
Date: Wed, 11 Jun 2008 02:07:36 -0700 (PDT)	[thread overview]
Message-ID: <87c43ab3-7758-4323-93e7-2a0512458b82@y38g2000hsy.googlegroups.com> (raw)

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	other threads:[~2008-06-11  9:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11  9:07 Sergei [this message]
2008-06-11  9:45 ` bdf fonts in EmacsW32 ? Juanma Barranquero
     [not found] ` <mailman.13064.1213177535.18990.help-gnu-emacs@gnu.org>
2008-06-11 10:04   ` Sergei
2008-06-11 10:44   ` Jason Rumney
2008-06-11 11:54     ` Juanma Barranquero
2008-06-11 11:56       ` Juanma Barranquero

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=87c43ab3-7758-4323-93e7-2a0512458b82@y38g2000hsy.googlegroups.com \
    --to=sergio.pokrovskij@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.