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

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

[h-e-w] specifying international font problem in windows 2000


From: Jaeyoun Chung
Subject: [h-e-w] specifying international font problem in windows 2000
Date: 22 Dec 2001 17:10:07 +0900
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Hi there,
I've just subscribed this mailing list.
Moving up to emacs 21, i happened to have this problem as a Korean
windows 2000 user:

M-x set-default-font and then trying and -ksc5601.1987 from *Completions*.

The hangul (== Korean) font looks rotated 90 degrees counterclockwise,
which *is* really odd.

Investigating the source code, the culprit is w32_to_x_font() and
x_to_w32_font() in w32fns.c which converts string encoding via
`w32-system-coding' which is set `iso-latin1' by default!

Font name in windows 2000 is seemed to be represented as Unicode character.
Thus the fontname string is encoded to emacs string and then decoded back
to LOGFONT structure selected by user from *Completions*.

The font is not found so the default font which is, strangely enough,
"address@hidden" not "-rater-Fixed..." so the font looked rotated 90
degrees.

Adding 'Emacs.Font' registry which is described in faq5.html doesn't work
at all. I've fix this problem by (setq w32-system-coding 'binary). But this
is not the correct way, i guess.

Any better ways?

One more thing, selecting some fonts like -raster-system-*, the minibuffer
increases to half of it's height by simply hitting 'M-x' or 'C-x C-f'. Any fix?

-- 
address@hidden



reply via email to

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