changeset 40345:1f8fda3ed895

Use ANSI fonts for iso10646-1 if UNICODE is not defined in system headers.
author Jason Rumney <jasonr@gnu.org>
date Fri, 26 Oct 2001 18:59:41 +0000
parents d184455da497
children f6020c95e836
files lisp/w32-fns.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/w32-fns.el	Fri Oct 26 17:51:38 2001 +0000
+++ b/lisp/w32-fns.el	Fri Oct 26 18:59:41 2001 +0000
@@ -402,9 +402,10 @@
       (w32-add-charset-info "mac" 'w32-charset-mac nil)))
 (if (boundp 'w32-unicode-charset-defined)
     (progn
-      (w32-add-charset-info "iso10646" 'w32-charset-unicode t)
-      (w32-add-charset-info "unicode" 'w32-charset-unicode t)))
-
+      (w32-add-charset-info "iso10646-1" 'w32-charset-unicode t)
+      (w32-add-charset-info "unicode" 'w32-charset-unicode t))
+  ;; If unicode windows charset is not defined, use ansi fonts.
+  (w32-add-charset-info "iso10646-1" 'w32-charset-ansi t))
 
 (make-obsolete-variable 'w32-enable-italics
                         'w32-enable-synthesized-fonts "21.1")