[Top][All Lists]

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

23.0.60; font selection weirdness

From: Yoshiaki Kasahara
Subject: 23.0.60; font selection weirdness
Date: Thu, 29 May 2008 17:36:22 +0900 (JST)

I'm trying to use 'x' font backend to recreate emacs's older
appearance (--disable-font-backend era), but I have some difficulties.
I'm not really sure if it is an emacs bug or my configuration problems.

Basic configuration related to fontset is as follows:

Emacs.Font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
Emacs.FontBackend: x


(set-fontset-font "fontset-misc_14"
                  '("misc-fixed" . "jisx0208.1983"))
(set-fontset-font "fontset-misc_14"
                  '("misc-fixed" . "jisx0201.1976"))

(set-frame-font "fontset-misc_14")

The language environment is "Japanese".

Problem 1:

For some chars (mainly symbols), when a different face (such as
different foreground/background color) is used, a different font is

For example, for a symbol "WHITE DOWN-POINTING TRIANGLE",

"-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0 (#x2226)"

is selected for the default face, but when the background color is
changed (by transient mark etc),

"-mutt-clearlyu-medium-r-normal--17-120-100-100-p-123-iso10646-1 (#x25BD)"

is used instead, which is very annoying (especially for an SKK user).
(I used M-x describe-char to check them)

Also, Greek characters have the similar behavior.  For example, "GREEK

"-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0 (#x2632)"


"-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-7 (#xD3)"

are selected respectively.

Problem 2:

For "MULTIPLICATION SIGN", "ACUTE ACCENT" and some others (I didn't
check exhaustively),

"-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1" (#xD7) (#xB4)

is always selected, which is a half width character.  I expect them to
be a full width character because the preferred charset is
japanese-jisx0208, but I don't realize how.

Problem 3:

        "-misc-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1" nil "misc_14")



Is it an expected behavior?


        "-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1" nil 



An older emacs (with --disable-font-backend) both returns


which seems more sane to me.  I guess x-list-fonts is still broken (or
too loosely matching font names).

Also I cannot (x-resolve-font-name "a14") (it was possible previously).

In GNU Emacs (x86_64-unknown-freebsd7.0, GTK+ Version 2.12.9)
 of 2008-05-29 on elvenbow.cc.kyushu-u.ac.jp
Windowing system distributor `The X.Org Foundation', version 11.0.10400000
configured using `configure  '--without-xim''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: C
  value of $LANG: ja_JP.eucJP
  value of $XMODIFIERS: @im=uim
  locale-coding-system: japanese-iso-8bit-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  iswitchb-mode: t
  icomplete-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

reply via email to

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