From owner-ntemacs-users@cs.washington.edu  Sat Jan 30 14:26:37 1999
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "" "31" "January" "1999" "01:36:09" "+1300" "Jason Rumney" "jasonr@altavista.net" nil "58" "Re: Emacs 20.3.5.2 pretest - problem solved" "^From:" nil nil "1" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.7+CS/7.2ju) with SMTP id OAA26870 for <voelker@june.cs.washington.edu>; Sat, 30 Jan 1999 14:16:08 -0800
Received: from trout.cs.washington.edu (trout.cs.washington.edu [128.95.1.178]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id OAA26104 for <voelker@joker.cs.washington.edu>; Sat, 30 Jan 1999 14:16:07 -0800
Received: (majordom@localhost) by trout.cs.washington.edu (8.8.5+CS/7.2trout) id NAA22491 for ntemacs-users-outgoing; Sat, 30 Jan 1999 13:50:49 -0800 (PST)
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by trout.cs.washington.edu (8.8.5+CS/7.2trout) with ESMTP id NAA22487 for <ntemacs-users@trout.cs.washington.edu>; Sat, 30 Jan 1999 13:50:46 -0800 (PST)
Received: from fep1-orange.clear.net.nz (fep1-orange.clear.net.nz [203.97.32.1]) by june.cs.washington.edu (8.8.7+CS/7.2ju) with ESMTP id NAA26041 for <ntemacs-users@cs.washington.edu>; Sat, 30 Jan 1999 13:50:43 -0800
Received: from yaroze.clear.net.nz (d1-u47.wgtn.clear.net.nz [203.97.50.111]) by fep1-orange.clear.net.nz (1.5/1.11) with ESMTP id KAA19713; Sun, 31 Jan 1999 10:50:40 +1300 (NZDT)
Received: from YAROZE.clear.net.nz by yaroze.clear.net.nz;      Sun, 31 Jan 99 01:36:10 +1300
References: <upv7zith4.fsf@totally-fudged-out-message-id> <uyamnh9nz.fsf@prague.ixos.cz> <36b174c6.1316625@janus> <36b0843c.5274296@mail.cais.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: tjump@cais.com's message of "Thu, 28 Jan 1999 15:41:19 GMT"
Message-ID: <wk90elym2u.fsf@yaroze.clear.net.nz>
Lines: 58
User-Agent: Gnus/5.070072 (Pterodactyl Gnus v0.72) Emacs/20.3
Precedence: bulk
X-FAQ: http://www.cs.washington.edu/homes/voelker/ntemacs.html
From: Jason Rumney <jasonr@altavista.net>
Sender: owner-ntemacs-users@cs.washington.edu
To: ntemacs-users@cs.washington.edu
Subject: Re: Emacs 20.3.5.2 pretest - problem solved
Date: 31 Jan 1999 01:36:09 +1300

In article <36b0843c.5274296@mail.cais.com>, tjump@cais.com (Theodore Jump) writes:

    > In the lisp\term\w32-win.el that you have in the 20.3.5.2 kit, o/a line 710 in
    > function (w32-create-initial-fontsets) there is the following line:

    > 	      (w32-create-initial-fontsets)))

    > In the lisp\term\w32-win.el that is in the base 20.3.5.1 kit, this line has the
    > following:

    >       ;; This cannot be run yet, as creating fontsets requires a
    >       ;; Window to be initialised so the fonts can be listed.
    >       ;; Add it to a hook so it gets run later.
    >       (add-hook 'before-init-hook 'w32-create-initial-fontsets)

    > I replaced your line with the above and *bingo* - no more problem.

It seems a bug that was supposed to be fixed is not fixed on all
systems, so the before-init-hook workaround will have to stay.

    > On a related note, the defvar of w32-standard-fontset-spec is
    > severly trimmed in your version of w32-win.el, the base has:

    > (defvar w32-standard-fontset-spec
    >  "-*-Courier New-normal-r-*-*-13-*-*-*-c-*-fontset-standard,
    >  latin-iso8859-2:-*-Courier New CE-normal-r-*-*-13-*-*-*-c-*-iso8859-2,
    >  latin-iso8859-3:-*-Courier New Tur-normal-r-*-*-13-*-*-*-c-*-iso8859-3,
    >  latin-iso8859-4:-*-Courier New Baltic-normal-r-*-*-13-*-*-*-c-*-iso8859-4,
    >  cyrillic-iso8859-5:-*-Courier New Cyr-normal-r-*-*-13-*-*-*-c-*-koi8-r,
    >  greek-iso8859-7:-*-Courier New Greek-normal-r-*-*-13-*-*-*-c-*-iso8859-7,
    >  latin-iso8859-9:-*-Courier New Tur-normal-r-*-*-13-*-*-*-c-*-iso8859-9"

There have been a couple of changes to the fontset and font support
code in 20.3.5.1 and 20.3.5.2.

The first is that the wildcard matching was improved, so Emacs can
generally find fonts for itself now. In 20.3.3.1 the fonts needed to
be listed seperately to be included in the fontset.

The other change is that Emacs now uses a newer API call where
possible to list fonts. This results in a more complete list under NT
4.0 and Windows 9x, but has the side-effect that the " CE", " Tur" etc
get dropped from the fonts that have them. Since the international
font names now vary with versions of the operating system, it is
better to let Emacs find them.

I know that Emacs picks fonts other than "Courier New" under certain
conditions, but after checking with Kenichi Handa (who wrote much of
the general MULE support), this is by design rather than bug. I think
the general idea of fontset-standard is to provide a fontset that
covers as many charsets as possible for occasional use. For a
consistant looking fontset, you may have to define it yourself.
(`create-fontset-from-ascii-font' is easiest to use for a single
alternative charset, for more charsets it is necessary to use
`create-fontset-from-fontset-spec'.)

-- 
Jason Rumney <jasonr@altavista.net>

