summaryrefslogtreecommitdiff
path: root/lisp/w32-fns.el
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2001-10-26 18:59:41 +0000
committerJason Rumney <jasonr@gnu.org>2001-10-26 18:59:41 +0000
commitac169f7bb3bd67652e5f4a9a86cfafd22aacd55e (patch)
treee380c45ce4d96b9d3f12434112a06720c803e894 /lisp/w32-fns.el
parent4fb0e5588a73b745e863291b4289e8e72843f521 (diff)
downloademacs-ac169f7bb3bd67652e5f4a9a86cfafd22aacd55e.tar.gz
Use ANSI fonts for iso10646-1 if UNICODE is not defined in system headers.
Diffstat (limited to 'lisp/w32-fns.el')
-rw-r--r--lisp/w32-fns.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el
index 52bd0f97a81..256aecc42d7 100644
--- a/lisp/w32-fns.el
+++ b/lisp/w32-fns.el
@@ -402,9 +402,10 @@ bit output with no translation."
(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")