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

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).