unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Font Problem with 23.0.92.1 - wrong font used
@ 2009-04-07  2:28 Taylor Venable
  2009-04-07  6:28 ` Kenichi Handa
  0 siblings, 1 reply; 21+ messages in thread
From: Taylor Venable @ 2009-04-07  2:28 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1976 bytes --]

I just noticed when I built a fresh CVS checkout today that some of my
fonts are not being displayed correctly.  My previous build was from
mid-February and they were correct then.  Namely, I'm trying to use
-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1 and rather
than that font I'm seeing something very wide (looks like an English
text rendered in an Asian font to me).  However, if I do a M-x
customize-face default and then simply select "Set for current
session" then the font that I want suddenly appears!  So it seems
perhaps that the font as set from my .emacs file isn't used correctly.

My .emacs file looks like this:

(defvar taylor-misc-fixed-large "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1"
  "Miscellaneous fixed Unicode font - larger version.")

(defvar taylor-use-x-font-p t
  "Use a regular X font (as opposed to Xft font) when true.")

(setq default-frame-alist `((width . 80) (height . 40)
                            (font-backend . "xft, x")
                            ,(if taylor-use-x-font-p
                                 `(font . ,taylor-x-font))))

(if (display-graphic-p)
    (progn
      (if taylor-use-x-font-p
          (progn
            (set-face-attribute 'default            nil :font taylor-x-font)
            (set-face-attribute 'tooltip            nil :font taylor-x-font)
            (set-face-attribute 'mode-line-inactive nil :font taylor-x-font))
        (progn
          ...))
      (set-fontset-font nil 'unicode "DejaVu Sans Mono")))

Attached are two screenshots, showing before and after I set the
default face attributes in customize.  Thanks for any information;
I've found that this bug dates back at least to the beginning of the
month but I didn't go any further to find out where it was introduced.

Version info:

GNU Emacs 23.0.92.1 (i386-unknown-openbsd4.5, GTK+ Version 2.14.7) of
2009-04-06 on zeltennia.metasyntax.net

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/

[-- Attachment #2: emacs-wrong-font.png --]
[-- Type: image/png, Size: 30379 bytes --]

[-- Attachment #3: emacs-right-font.png --]
[-- Type: image/png, Size: 19079 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-07  2:28 Font Problem with 23.0.92.1 - wrong font used Taylor Venable
@ 2009-04-07  6:28 ` Kenichi Handa
       [not found]   ` <20090407084801.GC5160@metasyntax.net>
  0 siblings, 1 reply; 21+ messages in thread
From: Kenichi Handa @ 2009-04-07  6:28 UTC (permalink / raw)
  To: Taylor Venable; +Cc: emacs-devel

In article <20090407022803.GB5160@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:

> I just noticed when I built a fresh CVS checkout today that some of my
> fonts are not being displayed correctly.  My previous build was from
> mid-February and they were correct then.  Namely, I'm trying to use
> -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1 and rather
> than that font I'm seeing something very wide (looks like an English
> text rendered in an Asian font to me).  However, if I do a M-x
> customize-face default and then simply select "Set for current
> session" then the font that I want suddenly appears!  So it seems
> perhaps that the font as set from my .emacs file isn't used correctly.

I can't reproduce it.

> My .emacs file looks like this:

> (defvar taylor-misc-fixed-large "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1"
>   "Miscellaneous fixed Unicode font - larger version.")

> (defvar taylor-use-x-font-p t
>   "Use a regular X font (as opposed to Xft font) when true.")

> (setq default-frame-alist `((width . 80) (height . 40)
>                             (font-backend . "xft, x")
>                             ,(if taylor-use-x-font-p
>                                  `(font . ,taylor-x-font))))

Here, what is the value of taylor-x-font?  What I tried is
setting it to taylor-misc-fixed-large.

What is shown by C-u C-x = on a character shown by the wrong
font?

---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
       [not found]   ` <20090407084801.GC5160@metasyntax.net>
@ 2009-04-08  2:48     ` Kenichi Handa
  2009-04-08  5:02       ` Taylor Venable
  2009-04-09 23:17       ` Taylor Venable
  0 siblings, 2 replies; 21+ messages in thread
From: Kenichi Handa @ 2009-04-08  2:48 UTC (permalink / raw)
  To: Taylor Venable; +Cc: emacs-devel

In article <20090407084801.GC5160@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:

> > What is shown by C-u C-x = on a character shown by the wrong
> > font?
[...]
>     xft:-Misc-Fixed-normal-normal-normal-*-13-*-*-*-c-*-iso10646-1 (#x1D)
[...]
> When shown in the correct font it looks the same:
[...]
>     xft:-Misc-Fixed-normal-normal-normal-*-13-*-*-*-c-*-iso10646-1 (#x1D)

Hmmm, the same font name, strange...

> Also, attached is my font-log (I tried to format it to make it easier
> to read).  This is the value after I've started, then used
> customize-face default to set it so to use the correct font again.

Please run Emacs while setting EMACS_FONT_LOG to 1 and show
me the result of M-x font-show-log RET.

% EMACS_FONT_LOG=1 emacs
M-x font-show-log RET

And show me the result of this too:

% fc-list fixed:foundry=misc

---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-08  2:48     ` Kenichi Handa
@ 2009-04-08  5:02       ` Taylor Venable
  2009-04-10 12:44         ` Kenichi Handa
  2009-04-09 23:17       ` Taylor Venable
  1 sibling, 1 reply; 21+ messages in thread
From: Taylor Venable @ 2009-04-08  5:02 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

On Wed, Apr 08, 2009 at 11:48:17AM +0900, Kenichi Handa wrote:
> In article <20090407084801.GC5160@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:
> > Also, attached is my font-log (I tried to format it to make it easier
> > to read).  This is the value after I've started, then used
> > customize-face default to set it so to use the correct font again.
> 
> % EMACS_FONT_LOG=1 emacs
> M-x font-show-log RET

(attached as font-show-log.txt)

> % fc-list fixed:foundry=misc

Fixed:style=Bold
Fixed:style=Bold SemiCondensed
Fixed:style=SemiCondensed
Fixed:style=Oblique SemiCondensed
Fixed:style=Oblique
Fixed:style=ko
Fixed:style=ja
Fixed:style=Regular

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/

[-- Attachment #2: font-show-log.txt --]
[-- Type: text/plain, Size: 38297 bytes --]

ftfont-list: -*-DejaVu Sans Mono-*-iso8859-1
  -unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-oblique-normal-*-m-0-iso10646-1
xfont-list: -*-DejaVu Sans Mono-*-*-*-*-*-*-*-*-*-*-iso8859-1
  -misc-dejavu sans mono-medium-r-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-medium-o-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-bold-r-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-bold-o-normal--*-0-0-m-0-iso8859-1
list: -*-DejaVu Sans Mono-*-iso8859-1
  -unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-oblique-normal-*-m-0-iso10646-1
  -misc-dejavu sans mono-medium-r-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-medium-o-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-bold-r-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-bold-o-normal--*-0-0-m-0-iso8859-1
sort-by: -*-normal-normal-normal-*-12-*
  xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
open: -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
  xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-m-0-iso10646-1
ftfont-list: -unknown-DejaVu Sans Mono-*-iso8859-1
  -unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-oblique-normal-*-m-0-iso10646-1
xfont-list: -unknown-DejaVu Sans Mono-*-*-*-*-*-*-*-*-*-*-iso8859-1
xfont-list: DejaVu Sans Mono-10
list: -unknown-DejaVu Sans Mono-*-iso8859-1
  -unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-oblique-normal-*-m-0-iso10646-1
sort-by: -*-normal-normal-normal-*-12-*
  xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
open: -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
  xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-m-0-iso10646-1
list: -unknown-DejaVu Sans Mono-*-iso8859-1
  -unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-oblique-normal-*-m-0-iso10646-1
sort-by: -*-normal-italic-normal-*-12-*
  xft:-unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
open: -unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
  xft:-unknown-DejaVu Sans Mono-normal-oblique-normal-*-12-*-m-0-iso10646-1
ftfont-list: -unknown-DejaVu Sans Mono-*-m-*-iso10646-1
  -unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-oblique-normal-*-m-0-iso10646-1
xfont-list: -unknown-DejaVu Sans Mono-*-*-*-*-*-*-*-*-m-*-iso10646-1
xfont-list: DejaVu Sans Mono-10
list: -unknown-DejaVu Sans Mono-*-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
sort-by: -*-light-normal-normal-*-12-*
  xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
open: -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
  xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-m-0-iso10646-1
list: -unknown-DejaVu Sans Mono-*-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
sort-by: -*-light-normal-normal-*-12-*
  xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
list: -unknown-DejaVu Sans Mono-*-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
sort-by: -*-bold-normal-normal-*-12-*
  xft:-unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
open: -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso10646-1
  xft:-unknown-DejaVu Sans Mono-bold-normal-normal-*-12-*-m-0-iso10646-1
list: -unknown-DejaVu Sans Mono-normal-*-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1
  -unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
sort-by: -*-normal-italic-normal-*-12-*
  xft:-unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
open: -unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1
  xft:-unknown-DejaVu Sans Mono-normal-oblique-normal-*-12-*-m-0-iso10646-1
ftfont-list: -misc-fixed-*--*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
xfont-list: -misc-fixed-*-*-*--*-*-*-*-c-*-iso10646-1
  -misc-fixed-medium-r-semicondensed--13-*-75-75-c-60-iso10646-1
  -misc-fixed-medium-r-semicondensed--12-*-75-75-c-60-iso10646-1
  -misc-fixed-medium-r-normal--9-*-75-75-c-60-iso10646-1
  -misc-fixed-medium-r-normal--8-*-75-75-c-50-iso10646-1
  -misc-fixed-medium-r-normal--7-*-75-75-c-50-iso10646-1
  -misc-fixed-medium-r-normal--6-*-75-75-c-40-iso10646-1
  -misc-fixed-medium-r-normal--20-*-75-75-c-100-iso10646-1
  -misc-fixed-medium-r-normal--18-*-100-100-c-90-iso10646-1
  -misc-fixed-medium-r-normal--15-*-75-75-c-90-iso10646-1
  -misc-fixed-medium-r-normal--14-*-75-75-c-70-iso10646-1
  -misc-fixed-medium-r-normal--13-*-75-75-c-80-iso10646-1
  -misc-fixed-medium-r-normal--13-*-75-75-c-70-iso10646-1
  -misc-fixed-medium-r-normal--10-*-75-75-c-60-iso10646-1
  -misc-fixed-medium-o-semicondensed--13-*-75-75-c-60-iso10646-1
  -misc-fixed-medium-o-normal--13-*-75-75-c-80-iso10646-1
  -misc-fixed-medium-o-normal--13-*-75-75-c-70-iso10646-1
  -misc-fixed-bold-r-semicondensed--13-*-75-75-c-60-iso10646-1
  -misc-fixed-bold-r-normal--18-*-100-100-c-90-iso10646-1
  -misc-fixed-bold-r-normal--15-*-75-75-c-90-iso10646-1
  ...
list: -misc-fixed-medium-r-normal--*-75-75-c-70-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  ...
sort-by: -*-unspecified-unspecified-unspecified-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
open: -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -misc-fixed-medium-r-normal--*-75-75-c-70-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  ...
sort-by: -*-normal-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
ftfont-list: -Misc-Fixed-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
xfont-list: -Misc-Fixed-*-*-*-*-*-*-*-*-c-*-iso10646-1
  -misc-fixed-medium-r-semicondensed--13-*-75-75-c-60-iso10646-1
  -misc-fixed-medium-r-semicondensed--12-*-75-75-c-60-iso10646-1
  -misc-fixed-medium-r-normal-ko-18-*-100-100-c-180-iso10646-1
  -misc-fixed-medium-r-normal-ja-18-*-100-100-c-180-iso10646-1
  -misc-fixed-medium-r-normal-ja-13-*-75-75-c-120-iso10646-1
  -misc-fixed-medium-r-normal--9-*-75-75-c-60-iso10646-1
  -misc-fixed-medium-r-normal--8-*-75-75-c-50-iso10646-1
  -misc-fixed-medium-r-normal--7-*-75-75-c-50-iso10646-1
  -misc-fixed-medium-r-normal--6-*-75-75-c-40-iso10646-1
  -misc-fixed-medium-r-normal--20-*-75-75-c-100-iso10646-1
  -misc-fixed-medium-r-normal--18-*-100-100-c-90-iso10646-1
  -misc-fixed-medium-r-normal--15-*-75-75-c-90-iso10646-1
  -misc-fixed-medium-r-normal--14-*-75-75-c-70-iso10646-1
  -misc-fixed-medium-r-normal--13-*-75-75-c-80-iso10646-1
  -misc-fixed-medium-r-normal--13-*-75-75-c-70-iso10646-1
  -misc-fixed-medium-r-normal--10-*-75-75-c-60-iso10646-1
  -misc-fixed-medium-o-semicondensed--13-*-75-75-c-60-iso10646-1
  -misc-fixed-medium-o-normal--13-*-75-75-c-80-iso10646-1
  -misc-fixed-medium-o-normal--13-*-75-75-c-70-iso10646-1
  ...
list: -Misc-Fixed-*-normal-normal-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-18-*-c-*-iso10646-1
  ...
sort-by: -*-light-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
open: -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -misc-fixed-medium-r-normal--*-75-75-c-70-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  ...
sort-by: -*-unspecified-unspecified-unspecified-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -misc-fixed-medium-r-normal--*-75-75-c-70-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  ...
sort-by: -*-unspecified-unspecified-unspecified-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -misc-fixed-medium-r-normal--*-75-75-c-70-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  ...
sort-by: -*-unspecified-unspecified-unspecified-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -misc-fixed-medium-r-normal--*-75-75-c-70-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  ...
sort-by: -*-light-unspecified-unspecified-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
ftfont-list: -Misc-DejaVu Sans Mono-*-iso8859-1
xfont-list: -Misc-DejaVu Sans Mono-*-*-*-*-*-*-*-*-*-*-iso8859-1
  -misc-dejavu sans mono-medium-r-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-medium-o-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-bold-r-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-bold-o-normal--*-0-0-m-0-iso8859-1
list: -Misc-DejaVu Sans Mono-*-iso8859-1
  -misc-dejavu sans mono-medium-r-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-medium-o-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-bold-r-normal--*-0-0-m-0-iso8859-1
  -misc-dejavu sans mono-bold-o-normal--*-0-0-m-0-iso8859-1
sort-by: -*-normal-normal-normal-*-13-*
  x:-misc-dejavu sans mono-medium-r-normal--*-0-0-m-0-iso8859-1
open: -misc-dejavu sans mono-medium-r-normal--*-0-0-m-0-iso8859-1
  x:-misc-dejavu sans mono-medium-r-normal--13-94-100-100-m-80-iso8859-1
ftfont-list: -Misc-Fixed-*-iso8859-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
xfont-list: -Misc-Fixed-*-*-*-*-*-*-*-*-*-*-iso8859-1
  -misc-fixed-medium-r-semicondensed--13-*-75-75-c-60-iso8859-1
  -misc-fixed-medium-r-semicondensed--13-*-100-100-c-60-iso8859-1
  -misc-fixed-medium-r-semicondensed--12-*-100-100-c-60-iso8859-1
  -misc-fixed-medium-r-semicondensed--12-*-75-75-c-60-iso8859-1
  -misc-fixed-medium-r-normal--9-*-75-75-c-60-iso8859-1
  -misc-fixed-medium-r-normal--9-*-100-100-c-60-iso8859-1
  -misc-fixed-medium-r-normal--8-*-75-75-c-50-iso8859-1
  -misc-fixed-medium-r-normal--8-*-100-100-c-50-iso8859-1
  -misc-fixed-medium-r-normal--7-*-75-75-c-50-iso8859-1
  -misc-fixed-medium-r-normal--7-*-100-100-c-50-iso8859-1
  -misc-fixed-medium-r-normal--6-*-75-75-c-40-iso8859-1
  -misc-fixed-medium-r-normal--20-*-75-75-c-100-iso8859-1
  -misc-fixed-medium-r-normal--20-*-100-100-c-100-iso8859-1
  -misc-fixed-medium-r-normal--18-*-100-100-c-90-iso8859-1
  -misc-fixed-medium-r-normal--15-*-75-75-c-90-iso8859-1
  -misc-fixed-medium-r-normal--15-*-100-100-c-90-iso8859-1
  -misc-fixed-medium-r-normal--14-*-75-75-c-70-iso8859-1
  -misc-fixed-medium-r-normal--14-*-100-100-c-70-iso8859-1
  -misc-fixed-medium-r-normal--13-*-75-75-c-80-iso8859-1
  ...
list: -Misc-Fixed-*-iso8859-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
sort-by: -*-normal-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
open: -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -misc-fixed-medium-r-normal--*-75-75-c-70-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  ...
sort-by: -*-normal-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-iso8859-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
sort-by: -*-normal-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-iso8859-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
sort-by: -*-normal-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-normal-normal-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-18-*-c-*-iso10646-1
  ...
sort-by: -*-bold-normal-normal-*-13-*
  xft:-Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
open: -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  xft:-Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-normal-normal-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-18-*-c-*-iso10646-1
  ...
sort-by: -*-bold-normal-normal-*-13-*
  xft:-Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-iso8859-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
sort-by: -*-normal-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-iso8859-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
sort-by: -*-normal-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-iso8859-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
sort-by: -*-normal-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-iso8859-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
sort-by: -*-normal-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-normal-normal-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-18-*-c-*-iso10646-1
  ...
sort-by: -*-bold-normal-normal-*-13-*
  xft:-Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-iso8859-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-8-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-semi-condensed-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-oblique-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-7-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  ...
sort-by: -*-normal-normal-normal-*-13-*
  xft:-Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
list: -Misc-Fixed-*-normal-normal-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-6-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-15-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-14-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1
  -Misc-Fixed-normal-normal-normal-*-20-*-c-*-iso10646-1
  -Misc-Fixed-bold-normal-normal-*-18-*-c-*-iso10646-1
  ...
sort-by: -*-bold-normal-normal-*-13-*
  xft:-Misc-Fixed-bold-normal-normal-*-13-*-c-*-iso10646-1

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-08  2:48     ` Kenichi Handa
  2009-04-08  5:02       ` Taylor Venable
@ 2009-04-09 23:17       ` Taylor Venable
  1 sibling, 0 replies; 21+ messages in thread
From: Taylor Venable @ 2009-04-09 23:17 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

I just did a clean build from the latest CVS to make sure that it's
still a problem (it is still present), then started stepping back in
time to locate where it might be coming from.

A checkout from 2009-03-04 does not show the bug, it behaves as I
expect.  Checking out from 2009-03-06 has the buggy behaviour, so I
suspect that the change which causes this behaviour for me happened
between 2009-03-04 and 2009-03-06.

Please let me know if there's anything I can do to help figure out
what may be causing this.  I'm no stranger to GDB but I need some
direction to figure out what I'm looking for.

Best regards,

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-08  5:02       ` Taylor Venable
@ 2009-04-10 12:44         ` Kenichi Handa
  2009-04-10 21:38           ` Taylor Venable
  0 siblings, 1 reply; 21+ messages in thread
From: Kenichi Handa @ 2009-04-10 12:44 UTC (permalink / raw)
  To: Taylor Venable; +Cc: emacs-devel

In article <20090408050247.GD5160@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:

> > % fc-list fixed:foundry=misc

> Fixed:style=Bold
> Fixed:style=Bold SemiCondensed
> Fixed:style=SemiCondensed
> Fixed:style=Oblique SemiCondensed
> Fixed:style=Oblique
> Fixed:style=ko
> Fixed:style=ja

Ah!  I think I found what is the problem.  Perhaps the
problem is these fonts:

/usr/share/fonts/X11/misc/12x13ja.pcf.gz
/usr/share/fonts/X11/misc/18x18ja.pcf.gz

Don't you have them?

I'm now working on how to distinguish them from the other
-misc-fixed-*-iso10646-1 fonts in ftfont.c.

---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-10 12:44         ` Kenichi Handa
@ 2009-04-10 21:38           ` Taylor Venable
  2009-04-13 12:41             ` Kenichi Handa
  0 siblings, 1 reply; 21+ messages in thread
From: Taylor Venable @ 2009-04-10 21:38 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

On Fri, Apr 10, 2009 at 09:44:09PM +0900, Kenichi Handa wrote:
> In article <20090408050247.GD5160@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:
> 
> > > % fc-list fixed:foundry=misc
> 
> > Fixed:style=Bold
> > Fixed:style=Bold SemiCondensed
> > Fixed:style=SemiCondensed
> > Fixed:style=Oblique SemiCondensed
> > Fixed:style=Oblique
> > Fixed:style=ko
> > Fixed:style=ja
> 
> Ah!  I think I found what is the problem.  Perhaps the
> problem is these fonts:
> 
> /usr/share/fonts/X11/misc/12x13ja.pcf.gz
> /usr/share/fonts/X11/misc/18x18ja.pcf.gz
> 
> Don't you have them?

Yes, I have those fonts.

$ ls /usr/X11R6/lib/X11/fonts/misc | grep -E '(ja|ko)\.pcf\.gz'
-rw-r--r--  1 root  wheel  356420 Feb 11 15:12:55 2009 12x13ja.pcf.gz
-rw-r--r--  1 root  wheel  612748 Feb 11 15:12:55 2009 18x18ja.pcf.gz
-rw-r--r--  1 root  wheel  735176 Feb 11 15:12:55 2009 18x18ko.pcf.gz

When I remove 12x13ja.pcf.gz the correct font is used but it's still
the wrong width.  The variant which is used is:

    -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1

Rather than the one I requested:

    -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/

[lb1+dsb*lalb<y]sy2009sa1dsblyxp




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-10 21:38           ` Taylor Venable
@ 2009-04-13 12:41             ` Kenichi Handa
  2009-04-13 17:38               ` Taylor Venable
  0 siblings, 1 reply; 21+ messages in thread
From: Kenichi Handa @ 2009-04-13 12:41 UTC (permalink / raw)
  To: Taylor Venable; +Cc: emacs-devel

In article <20090410213806.GH5160@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:

> On Fri, Apr 10, 2009 at 09:44:09PM +0900, Kenichi Handa wrote:
> > In article <20090408050247.GD5160@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:

> Yes, I have those fonts.

> $ ls /usr/X11R6/lib/X11/fonts/misc | grep -E '(ja|ko)\.pcf\.gz'
> -rw-r--r--  1 root  wheel  356420 Feb 11 15:12:55 2009 12x13ja.pcf.gz
> -rw-r--r--  1 root  wheel  612748 Feb 11 15:12:55 2009 18x18ja.pcf.gz
> -rw-r--r--  1 root  wheel  735176 Feb 11 15:12:55 2009 18x18ko.pcf.gz

> When I remove 12x13ja.pcf.gz the correct font is used but it's still
> the wrong width.  The variant which is used is:

>     -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1

> Rather than the one I requested:

>     -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1

I've just installed fixes.   Could you please try again
(without `ja' and `ko' fonts and with them)?

---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-13 12:41             ` Kenichi Handa
@ 2009-04-13 17:38               ` Taylor Venable
  2009-04-14  1:07                 ` Kenichi Handa
  0 siblings, 1 reply; 21+ messages in thread
From: Taylor Venable @ 2009-04-13 17:38 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1746 bytes --]

On Mon, Apr 13, 2009 at 09:41:24PM +0900, Kenichi Handa wrote:
> In article <20090410213806.GH5160@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:
> 
> > On Fri, Apr 10, 2009 at 09:44:09PM +0900, Kenichi Handa wrote:
> > > In article <20090408050247.GD5160@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:
> 
> > Yes, I have those fonts.
> 
> > $ ls /usr/X11R6/lib/X11/fonts/misc | grep -E '(ja|ko)\.pcf\.gz'
> > -rw-r--r--  1 root  wheel  356420 Feb 11 15:12:55 2009 12x13ja.pcf.gz
> > -rw-r--r--  1 root  wheel  612748 Feb 11 15:12:55 2009 18x18ja.pcf.gz
> > -rw-r--r--  1 root  wheel  735176 Feb 11 15:12:55 2009 18x18ko.pcf.gz
> 
> > When I remove 12x13ja.pcf.gz the correct font is used but it's still
> > the wrong width.  The variant which is used is:
> 
> >     -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
> 
> > Rather than the one I requested:
> 
> >     -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1
> 
> I've just installed fixes.   Could you please try again
> (without `ja' and `ko' fonts and with them)?

It looks a lot better now.  Without the ja font, from a preliminary
look everything seems to be good.  (See attached screenshot named
emacs-no-ja-font.png)  However, with the ja font in the font path
things are still a little off; bold faces are the wrong width (80
rather than the requested 70) and some other faces (like tooltip and
inactive mode line) use the "semicondensed" variant rather than the
"normal" variant.  The default face is now correct though.  See
attached screenshot named emacs-with-ja-font.png in the highlighted
areas for the things that are still not quite right.

Thanks,

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/

[-- Attachment #2: emacs-no-ja-font.png --]
[-- Type: image/png, Size: 16072 bytes --]

[-- Attachment #3: emacs-with-ja-font.png --]
[-- Type: image/png, Size: 16736 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-13 17:38               ` Taylor Venable
@ 2009-04-14  1:07                 ` Kenichi Handa
  2009-04-14  3:14                   ` Taylor Venable
  0 siblings, 1 reply; 21+ messages in thread
From: Kenichi Handa @ 2009-04-14  1:07 UTC (permalink / raw)
  To: Taylor Venable; +Cc: emacs-devel

In article <20090413173850.GA30710@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:

> It looks a lot better now.  Without the ja font, from a preliminary
> look everything seems to be good.  (See attached screenshot named
> emacs-no-ja-font.png)  However, with the ja font in the font path
> things are still a little off; bold faces are the wrong width (80
> rather than the requested 70) and some other faces (like tooltip and
> inactive mode line) use the "semicondensed" variant rather than the
> "normal" variant.  The default face is now correct though.  See
> attached screenshot named emacs-with-ja-font.png in the highlighted
> areas for the things that are still not quite right.

Ummm, weird.  Please define this function:

(defun font-file-at ()
  (interactive)
  (message "%s" (aref (query-font (font-at (point))) 1)))

and run it while putting cursor on "abc..." of `default',
`mode-line-inactive', and `tooltip' lines in *Faces* buffer
that is shown by M-x list-faces-display RET.

---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-14  1:07                 ` Kenichi Handa
@ 2009-04-14  3:14                   ` Taylor Venable
  2009-04-14  3:49                     ` Kenichi Handa
  0 siblings, 1 reply; 21+ messages in thread
From: Taylor Venable @ 2009-04-14  3:14 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

On Tue, Apr 14, 2009 at 10:07:04AM +0900, Kenichi Handa wrote:
> In article <20090413173850.GA30710@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:
> 
> > It looks a lot better now.  Without the ja font, from a preliminary
> > look everything seems to be good.  (See attached screenshot named
> > emacs-no-ja-font.png)  However, with the ja font in the font path
> > things are still a little off; bold faces are the wrong width (80
> > rather than the requested 70) and some other faces (like tooltip and
> > inactive mode line) use the "semicondensed" variant rather than the
> > "normal" variant.  The default face is now correct though.  See
> > attached screenshot named emacs-with-ja-font.png in the highlighted
> > areas for the things that are still not quite right.
> 
> Ummm, weird.  Please define this function:
> 
> (defun font-file-at ()
>   (interactive)
>   (message "%s" (aref (query-font (font-at (point))) 1)))
> 
> and run it while putting cursor on "abc..." of `default',
> `mode-line-inactive', and `tooltip' lines in *Faces* buffer
> that is shown by M-x list-faces-display RET.

First, when the Japanese font is present:

default: /usr/X11R6/lib/X11/fonts/misc/7x13-ISO8859-1.pcf.gz
mode-line-inactive: [the same]
tooltip: [the same]

Strangely enough, the font shown as the example for 'default' is not
the font used in the buffer display; again it appears to be the semi-
condensed variant, whereas the font used in the buffer display appears
to be the correct normal variant.  If I do M-x customize-face default
I notice that the value has been set outside customize, and telling it
to set for the current session redisplays the buffer using the semi-
condensed face.

When I run this function on 'bold' I get nil.  Finding a face that
looks like what I want and see in the buffer display, the function
reports the value as /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz - but
the font for the 'bold-italic' face which also looks correct (there is
no italic slant variant for the -misc-fixed font I'm using) is
/usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz

========================================

Without the Japanese font in the font path, I get these:

default: /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz
bold: /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz

It seems as if these are the fonts that I want for normal and bold,
respectively.  It seems as if the default and bold faces are being
chosen incorrectly while the Japanese font is present.

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-14  3:14                   ` Taylor Venable
@ 2009-04-14  3:49                     ` Kenichi Handa
  2009-04-14 11:50                       ` Taylor Venable
  0 siblings, 1 reply; 21+ messages in thread
From: Kenichi Handa @ 2009-04-14  3:49 UTC (permalink / raw)
  To: Taylor Venable; +Cc: emacs-devel

In article <20090414031419.GF6280@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:

> > Ummm, weird.  Please define this function:
> > 
> > (defun font-file-at ()
> >   (interactive)
> >   (message "%s" (aref (query-font (font-at (point))) 1)))
> > 
> > and run it while putting cursor on "abc..." of `default',
> > `mode-line-inactive', and `tooltip' lines in *Faces* buffer
> > that is shown by M-x list-faces-display RET.

> First, when the Japanese font is present:

> default: /usr/X11R6/lib/X11/fonts/misc/7x13-ISO8859-1.pcf.gz
> mode-line-inactive: [the same]
> tooltip: [the same]

> Strangely enough, the font shown as the example for 'default' is not
> the font used in the buffer display; again it appears to be the semi-
> condensed variant, whereas the font used in the buffer display appears
> to be the correct normal variant.

What is reported when you run font-file-at on a character
displayed by that normal variant?

And, the XLFD of 7x13-ISO8859-1.pcf.gz is:
    -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
Please run this and check if it is the font you mean by
semicondensed variant?

% xfd -fn -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1

Also please check if the font shown by this is what you mean
by normal variant:

% xfd -fn -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1

> If I do M-x customize-face default I notice that the value
> has been set outside customize, and telling it to set for
> the current session redisplays the buffer using the semi-
> condensed face.

> When I run this function on 'bold' I get nil.  Finding a face that
> looks like what I want and see in the buffer display, the function
> reports the value as /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz - but
> the font for the 'bold-italic' face which also looks correct (there is
> no italic slant variant for the -misc-fixed font I'm using) is
> /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz

> ========================================

> Without the Japanese font in the font path, I get these:

> default: /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz
> bold: /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz

I still can't reproduce that phenomenon; i.e. the existence
of Japanese fonts affects the font selection.

By the way, I now have a bad feeling that there's no way for
fontconfig to distinguish these fonts:

/usr/share/fonts/X11/misc/7x13.pcf.gz
	-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1
/usr/share/fonts/X11/misc/8x13.pcf.gz
	-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1

They differ only in AVERAGE_WIDTH, but fontconfig doesn't
report that value.



---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-14  3:49                     ` Kenichi Handa
@ 2009-04-14 11:50                       ` Taylor Venable
  2009-04-15  2:39                         ` Taylor Venable
  2009-04-16  1:43                         ` Kenichi Handa
  0 siblings, 2 replies; 21+ messages in thread
From: Taylor Venable @ 2009-04-14 11:50 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

On Tue, Apr 14, 2009 at 12:49:48PM +0900, Kenichi Handa wrote:
> In article <20090414031419.GF6280@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:
> 
> > > Ummm, weird.  Please define this function:
> > > 
> > > (defun font-file-at ()
> > >   (interactive)
> > >   (message "%s" (aref (query-font (font-at (point))) 1)))
> > > 
> > > and run it while putting cursor on "abc..." of `default',
> > > `mode-line-inactive', and `tooltip' lines in *Faces* buffer
> > > that is shown by M-x list-faces-display RET.
> 
> > First, when the Japanese font is present:
> 
> > default: /usr/X11R6/lib/X11/fonts/misc/7x13-ISO8859-1.pcf.gz
> > mode-line-inactive: [the same]
> > tooltip: [the same]
> 
> > Strangely enough, the font shown as the example for 'default' is not
> > the font used in the buffer display; again it appears to be the semi-
> > condensed variant, whereas the font used in the buffer display appears
> > to be the correct normal variant.
> 
> What is reported when you run font-file-at on a character
> displayed by that normal variant?

/usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz

In other words, it seems as if this is the font that should be used
for the 'default' face.

> And, the XLFD of 7x13-ISO8859-1.pcf.gz is:
>     -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
> Please run this and check if it is the font you mean by
> semicondensed variant?
> 
> % xfd -fn -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1

No, this looks like what I want; in xfontsel it's specified by sWdth =
normal and avgWdth = 70.  What I've been calling the "semi-condensed
variant" is specified by sWdth = semicondensed and avgWdth = 60.

However, I can tell by just looking at it that when that font file
name is reported, the font being used is not the one with the XFLD
listed above and in my .emacs file.
 
> Also please check if the font shown by this is what you mean
> by normal variant:
> 
> % xfd -fn -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1

This is too wide; the font that I've told Emacs to use as the default
has an avgWdth of 70, not 80.
 
> > If I do M-x customize-face default I notice that the value
> > has been set outside customize, and telling it to set for
> > the current session redisplays the buffer using the semi-
> > condensed face.
> 
> > When I run this function on 'bold' I get nil.  Finding a face that
> > looks like what I want and see in the buffer display, the function
> > reports the value as /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz - but
> > the font for the 'bold-italic' face which also looks correct (there is
> > no italic slant variant for the -misc-fixed font I'm using) is
> > /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz

Is there meaning to the fact that the function returns nil for the
'bold' face?  Or perhaps it's an unrelated issue?
 
> > ========================================
> 
> > Without the Japanese font in the font path, I get these:
> 
> > default: /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz
> > bold: /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz
> 
> I still can't reproduce that phenomenon; i.e. the existence
> of Japanese fonts affects the font selection.

This is on OpenBSD so maybe there's something weird in how X is setup;
I'll find a Linux box today to test on and see if there's any similar
or different behaviour there.

Thanks,

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-14 11:50                       ` Taylor Venable
@ 2009-04-15  2:39                         ` Taylor Venable
  2009-04-16  1:43                         ` Kenichi Handa
  1 sibling, 0 replies; 21+ messages in thread
From: Taylor Venable @ 2009-04-15  2:39 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

On Tue, Apr 14, 2009 at 07:50:05AM -0400, Taylor Venable wrote:
> This is on OpenBSD so maybe there's something weird in how X is setup;
> I'll find a Linux box today to test on and see if there's any similar
> or different behaviour there.

And wouldn't you know, it works just fine with the Japanese font in
place on my Ubuntu 8.10 system at work.  The behaviour on Ubuntu with
the ja font is the same as on OpenBSD *without* the ja font, which is
the "right" behaviour.

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-14 11:50                       ` Taylor Venable
  2009-04-15  2:39                         ` Taylor Venable
@ 2009-04-16  1:43                         ` Kenichi Handa
  2009-04-16 14:04                           ` Chong Yidong
  2009-04-17  2:48                           ` Taylor Venable
  1 sibling, 2 replies; 21+ messages in thread
From: Kenichi Handa @ 2009-04-16  1:43 UTC (permalink / raw)
  To: Taylor Venable; +Cc: emacs-devel

I've just installed several fixes.  Could you try again?

Note that now xft backend can distinguish average-width font
property for BDF/PFC fonts.  So you should be able to see
the different font with these settings.

(defvar taylor-misc-fixed-large
	"-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1")

(defvar taylor-misc-fixed-large
	"-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1")

---
Kenichi Handa
handa@m17n.org


In article <20090414115004.GH6280@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:

> On Tue, Apr 14, 2009 at 12:49:48PM +0900, Kenichi Handa wrote:
> > In article <20090414031419.GF6280@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:
> > 
> > > > Ummm, weird.  Please define this function:
> > > > 
> > > > (defun font-file-at ()
> > > >   (interactive)
> > > >   (message "%s" (aref (query-font (font-at (point))) 1)))
> > > > 
> > > > and run it while putting cursor on "abc..." of `default',
> > > > `mode-line-inactive', and `tooltip' lines in *Faces* buffer
> > > > that is shown by M-x list-faces-display RET.
> > 
> > > First, when the Japanese font is present:
> > 
> > > default: /usr/X11R6/lib/X11/fonts/misc/7x13-ISO8859-1.pcf.gz
> > > mode-line-inactive: [the same]
> > > tooltip: [the same]
> > 
> > > Strangely enough, the font shown as the example for 'default' is not
> > > the font used in the buffer display; again it appears to be the semi-
> > > condensed variant, whereas the font used in the buffer display appears
> > > to be the correct normal variant.
> > 
> > What is reported when you run font-file-at on a character
> > displayed by that normal variant?

> /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz

> In other words, it seems as if this is the font that should be used
> for the 'default' face.

> > And, the XLFD of 7x13-ISO8859-1.pcf.gz is:
> >     -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
> > Please run this and check if it is the font you mean by
> > semicondensed variant?
> > 
> > % xfd -fn -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1

> No, this looks like what I want; in xfontsel it's specified by sWdth =
> normal and avgWdth = 70.  What I've been calling the "semi-condensed
> variant" is specified by sWdth = semicondensed and avgWdth = 60.

> However, I can tell by just looking at it that when that font file
> name is reported, the font being used is not the one with the XFLD
> listed above and in my .emacs file.
 
> > Also please check if the font shown by this is what you mean
> > by normal variant:
> > 
> > % xfd -fn -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1

> This is too wide; the font that I've told Emacs to use as the default
> has an avgWdth of 70, not 80.
 
> > > If I do M-x customize-face default I notice that the value
> > > has been set outside customize, and telling it to set for
> > > the current session redisplays the buffer using the semi-
> > > condensed face.
> > 
> > > When I run this function on 'bold' I get nil.  Finding a face that
> > > looks like what I want and see in the buffer display, the function
> > > reports the value as /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz - but
> > > the font for the 'bold-italic' face which also looks correct (there is
> > > no italic slant variant for the -misc-fixed font I'm using) is
> > > /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz

> Is there meaning to the fact that the function returns nil for the
> 'bold' face?  Or perhaps it's an unrelated issue?
 
> > > ========================================
> > 
> > > Without the Japanese font in the font path, I get these:
> > 
> > > default: /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz
> > > bold: /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz
> > 
> > I still can't reproduce that phenomenon; i.e. the existence
> > of Japanese fonts affects the font selection.

> This is on OpenBSD so maybe there's something weird in how X is setup;
> I'll find a Linux box today to test on and see if there's any similar
> or different behaviour there.

> Thanks,

> -- 
> Taylor Christopher Venable
> http://real.metasyntax.net:2357/





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-16  1:43                         ` Kenichi Handa
@ 2009-04-16 14:04                           ` Chong Yidong
  2009-04-17  1:01                             ` Kenichi Handa
  2009-04-17  2:48                           ` Taylor Venable
  1 sibling, 1 reply; 21+ messages in thread
From: Chong Yidong @ 2009-04-16 14:04 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: Taylor Venable, emacs-devel

Kenichi Handa <handa@m17n.org> writes:

> I've just installed several fixes.  Could you try again?

Please double-check your latest set of changes; I think they introduced
a crash bug.  To reproduce:

1. emacs -Q -nw
2. M-: (make-frame-on-display ":0.0") RET
3. select the new graphical frame
4. C-x 5 0

If I back out these changes, I cannot reproduce the crash.  Here's the
backtrace:

Xft: locking error too many file unlocks
#0  0xb761ab23 in ?? () from
/usr/lib/libXft.so.2raction)-----------------------
#1  0xb76178bc in ?? () from /usr/lib/libXft.so.2
#2  0xb7639256 in XCloseDisplay () from /usr/lib/libX11.so.6
#3  0xb7ba0ce6 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#4  0xb78c9db3 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#5  0xb7b7b518 in gdk_display_close () from /usr/lib/libgdk-x11-2.0.so.0
#6  0x0813d771 in xg_display_close (dpy=0x86ea000) at gtkutil.c:174
#7  0x08117e10 in x_delete_terminal (terminal=0x878df28) at
xterm.c:10729
#8  0x080fb7e2 in Fdelete_terminal (terminal=142139180, force=138374473)
    at terminal.c:334
#9  0x08063d4e in delete_frame (frame=142427996, force=138374425)
    at frame.c:1508
#10 0x08063fa4 in Fdelete_frame (frame=138374425, force=138374425)
    at frame.c:1645
#11 0x081d6f76 in Ffuncall (nargs=1, args=0xbf9c1d60) at eval.c:3048
#12 0x081d27d2 in Fcall_interactively (function=138409721, 
    record_flag=138374425, keys=138412828) at callint.c:868
#13 0x081d6fa9 in Ffuncall (nargs=4, args=0xbf9c2030) at eval.c:3051
#14 0x081d6b52 in call3 (fn=138538977, arg1=138409721, arg2=138374425, 
    arg3=138374425) at eval.c:2875
#15 0x08158f35 in Fcommand_execute (cmd=138409721,
record_flag=138374425, 
    keys=138374425, special=138374425) at keyboard.c:10447
#16 0x0814ae1f in command_loop_1 () at keyboard.c:1901
#17 0x081d4a06 in internal_condition_case (bfun=0x8149655
<command_loop_1>, 
    handlers=138418585, hfun=0x814900a <cmd_error>) at eval.c:1512
#18 0x081493a7 in command_loop_2 () at keyboard.c:1359
#19 0x081d44ec in internal_catch (tag=138413561, 
    func=0x8149382 <command_loop_2>, arg=138374425) at eval.c:1248
#20 0x08149360 in command_loop () at keyboard.c:1338
#21 0x08148c16 in recursive_edit_1 () at keyboard.c:953
#22 0x08148d85 in Frecursive_edit () at keyboard.c:1015
#23 0x081474b6 in main (argc=3, argv=0xbf9c28e4) at emacs.c:1852

Lisp Backtrace:
"delete-frame" (0xbf9c1d64)
"call-interactively" (0xbf9c2034)




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-16 14:04                           ` Chong Yidong
@ 2009-04-17  1:01                             ` Kenichi Handa
  2009-04-17  2:30                               ` Chong Yidong
  0 siblings, 1 reply; 21+ messages in thread
From: Kenichi Handa @ 2009-04-17  1:01 UTC (permalink / raw)
  To: Chong Yidong; +Cc: taylor, emacs-devel

In article <87prfcr8ya.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com> writes:

> Kenichi Handa <handa@m17n.org> writes:
> > I've just installed several fixes.  Could you try again?

> Please double-check your latest set of changes; I think they introduced
> a crash bug.  To reproduce:

> 1. emacs -Q -nw
> 2. M-: (make-frame-on-display ":0.0") RET
> 3. select the new graphical frame
> 4. C-x 5 0

I've just installed a fix.  At least it avoids the above
crash for me.  Please try again.

But the fix is not efficient; it doesn't utilize the newly
introduced entity-caching fully.  I'll try to find a more
efficient fix.

---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-17  1:01                             ` Kenichi Handa
@ 2009-04-17  2:30                               ` Chong Yidong
  2009-04-17  2:40                                 ` Kenichi Handa
  0 siblings, 1 reply; 21+ messages in thread
From: Chong Yidong @ 2009-04-17  2:30 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: taylor, emacs-devel

Kenichi Handa <handa@m17n.org> writes:

> I've just installed a fix.  At least it avoids the above
> crash for me.  Please try again.

Works fine now.  Thank you.

> But the fix is not efficient; it doesn't utilize the newly
> introduced entity-caching fully.  I'll try to find a more
> efficient fix.

I don't observe any significant slowdown.  I'd suggest not to worry
about this for now, unless there's a very good reason.




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-17  2:30                               ` Chong Yidong
@ 2009-04-17  2:40                                 ` Kenichi Handa
  0 siblings, 0 replies; 21+ messages in thread
From: Kenichi Handa @ 2009-04-17  2:40 UTC (permalink / raw)
  To: Chong Yidong; +Cc: taylor, emacs-devel

In article <87tz4om2pk.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com> writes:

> Kenichi Handa <handa@m17n.org> writes:
> > I've just installed a fix.  At least it avoids the above
> > crash for me.  Please try again.

> Works fine now.  Thank you.

> > But the fix is not efficient; it doesn't utilize the newly
> > introduced entity-caching fully.  I'll try to find a more
> > efficient fix.

> I don't observe any significant slowdown.  I'd suggest not to worry
> about this for now, unless there's a very good reason.

The current code is a little bit faster than the code of two
days ago.  I think it can be more faster and less memory
usage, but, yes, I can work on it after the release.

---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-16  1:43                         ` Kenichi Handa
  2009-04-16 14:04                           ` Chong Yidong
@ 2009-04-17  2:48                           ` Taylor Venable
  2009-04-17  4:09                             ` Kenichi Handa
  1 sibling, 1 reply; 21+ messages in thread
From: Taylor Venable @ 2009-04-17  2:48 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 4565 bytes --]

On Thu, Apr 16, 2009 at 10:43:01AM +0900, Kenichi Handa wrote:
> I've just installed several fixes.  Could you try again?
> 
> Note that now xft backend can distinguish average-width font
> property for BDF/PFC fonts.  So you should be able to see
> the different font with these settings.

I updated from CVS about ten hours ago and all indications are that
this has worked.  I can now see the PCF font exactly as I expect with
or without the Japanese font present.

Thanks very much!  The XFT support is great and beautiful but
sometimes the speed in rendering of the plain old X fonts is best.

> In article <20090414115004.GH6280@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:
> 
> > On Tue, Apr 14, 2009 at 12:49:48PM +0900, Kenichi Handa wrote:
> > > In article <20090414031419.GF6280@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:
> > > 
> > > > > Ummm, weird.  Please define this function:
> > > > > 
> > > > > (defun font-file-at ()
> > > > >   (interactive)
> > > > >   (message "%s" (aref (query-font (font-at (point))) 1)))
> > > > > 
> > > > > and run it while putting cursor on "abc..." of `default',
> > > > > `mode-line-inactive', and `tooltip' lines in *Faces* buffer
> > > > > that is shown by M-x list-faces-display RET.
> > > 
> > > > First, when the Japanese font is present:
> > > 
> > > > default: /usr/X11R6/lib/X11/fonts/misc/7x13-ISO8859-1.pcf.gz
> > > > mode-line-inactive: [the same]
> > > > tooltip: [the same]
> > > 
> > > > Strangely enough, the font shown as the example for 'default' is not
> > > > the font used in the buffer display; again it appears to be the semi-
> > > > condensed variant, whereas the font used in the buffer display appears
> > > > to be the correct normal variant.
> > > 
> > > What is reported when you run font-file-at on a character
> > > displayed by that normal variant?
> 
> > /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz
> 
> > In other words, it seems as if this is the font that should be used
> > for the 'default' face.
> 
> > > And, the XLFD of 7x13-ISO8859-1.pcf.gz is:
> > >     -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
> > > Please run this and check if it is the font you mean by
> > > semicondensed variant?
> > > 
> > > % xfd -fn -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
> 
> > No, this looks like what I want; in xfontsel it's specified by sWdth =
> > normal and avgWdth = 70.  What I've been calling the "semi-condensed
> > variant" is specified by sWdth = semicondensed and avgWdth = 60.
> 
> > However, I can tell by just looking at it that when that font file
> > name is reported, the font being used is not the one with the XFLD
> > listed above and in my .emacs file.
>  
> > > Also please check if the font shown by this is what you mean
> > > by normal variant:
> > > 
> > > % xfd -fn -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
> 
> > This is too wide; the font that I've told Emacs to use as the default
> > has an avgWdth of 70, not 80.
>  
> > > > If I do M-x customize-face default I notice that the value
> > > > has been set outside customize, and telling it to set for
> > > > the current session redisplays the buffer using the semi-
> > > > condensed face.
> > > 
> > > > When I run this function on 'bold' I get nil.  Finding a face that
> > > > looks like what I want and see in the buffer display, the function
> > > > reports the value as /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz - but
> > > > the font for the 'bold-italic' face which also looks correct (there is
> > > > no italic slant variant for the -misc-fixed font I'm using) is
> > > > /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz
> 
> > Is there meaning to the fact that the function returns nil for the
> > 'bold' face?  Or perhaps it's an unrelated issue?
>  
> > > > ========================================
> > > 
> > > > Without the Japanese font in the font path, I get these:
> > > 
> > > > default: /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz
> > > > bold: /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz
> > > 
> > > I still can't reproduce that phenomenon; i.e. the existence
> > > of Japanese fonts affects the font selection.
> 
> > This is on OpenBSD so maybe there's something weird in how X is setup;
> > I'll find a Linux box today to test on and see if there's any similar
> > or different behaviour there.
> 
> > Thanks,
> 
> > -- 
> > Taylor Christopher Venable
> > http://real.metasyntax.net:2357/
> 

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/

((λ x . x x) (λ x . x x))




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Font Problem with 23.0.92.1 - wrong font used
  2009-04-17  2:48                           ` Taylor Venable
@ 2009-04-17  4:09                             ` Kenichi Handa
  0 siblings, 0 replies; 21+ messages in thread
From: Kenichi Handa @ 2009-04-17  4:09 UTC (permalink / raw)
  To: Taylor Venable; +Cc: emacs-devel

In article <20090417024824.GA19189@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:

> On Thu, Apr 16, 2009 at 10:43:01AM +0900, Kenichi Handa wrote:
> > I've just installed several fixes.  Could you try again?
> > 
> > Note that now xft backend can distinguish average-width font
> > property for BDF/PFC fonts.  So you should be able to see
> > the different font with these settings.

> I updated from CVS about ten hours ago and all indications are that
> this has worked.  I can now see the PCF font exactly as I expect with
> or without the Japanese font present.

Thank you for testing.

> Thanks very much!  The XFT support is great and beautiful but
> sometimes the speed in rendering of the plain old X fonts is best.

I too prefer well-designed X bitmap fonts.  So, I put `x'
font-backend higher priority as this:

(setq default-frame-alist `((font-backend . "x, xft")))

Then if the same font is provided both by X and XFT, Emacs
selects the X font.

---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2009-04-17  4:09 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07  2:28 Font Problem with 23.0.92.1 - wrong font used Taylor Venable
2009-04-07  6:28 ` Kenichi Handa
     [not found]   ` <20090407084801.GC5160@metasyntax.net>
2009-04-08  2:48     ` Kenichi Handa
2009-04-08  5:02       ` Taylor Venable
2009-04-10 12:44         ` Kenichi Handa
2009-04-10 21:38           ` Taylor Venable
2009-04-13 12:41             ` Kenichi Handa
2009-04-13 17:38               ` Taylor Venable
2009-04-14  1:07                 ` Kenichi Handa
2009-04-14  3:14                   ` Taylor Venable
2009-04-14  3:49                     ` Kenichi Handa
2009-04-14 11:50                       ` Taylor Venable
2009-04-15  2:39                         ` Taylor Venable
2009-04-16  1:43                         ` Kenichi Handa
2009-04-16 14:04                           ` Chong Yidong
2009-04-17  1:01                             ` Kenichi Handa
2009-04-17  2:30                               ` Chong Yidong
2009-04-17  2:40                                 ` Kenichi Handa
2009-04-17  2:48                           ` Taylor Venable
2009-04-17  4:09                             ` Kenichi Handa
2009-04-09 23:17       ` Taylor Venable

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).