unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2334: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function
@ 2009-02-16 15:26 Chong Yidong
  2009-02-16 16:00 ` Theodore Tso
  2009-02-18  6:00 ` Kenichi Handa
  0 siblings, 2 replies; 6+ messages in thread
From: Chong Yidong @ 2009-02-16 15:26 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: Theodore Ts'o, 2334

"Theodore Ts'o" <tytso@mit.edu> wrote:

> Using emacs-snapshot-20090207, the text display becomes very ugly when
> set via:
> (set-default-font "DejaVu Sans Mono-10")
> However, if the font is set via the menu bar: Options->Set Default Font
> then the fonts look good (i.e., with proper anti-aliasing).

Hi Handa-san,

I think we should give the xft font backend (where it is available) a
higher priority than the x backend; otherwise, users will keep
experiencing bugs like this.

WDYT?






^ permalink raw reply	[flat|nested] 6+ messages in thread
* bug#2334: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function
@ 2009-02-15  5:32 Theodore Ts'o
  0 siblings, 0 replies; 6+ messages in thread
From: Theodore Ts'o @ 2009-02-15  5:32 UTC (permalink / raw)
  To: emacs-pretest-bug

Using emacs-snapshot-20090207, the text display becomes very ugly when
set via:

(set-default-font "DejaVu Sans Mono-10")

However, if the font is set via the menu bar: Options->Set Default Font

then the fonts look good (i.e., with proper anti-aliasing).



In GNU Emacs 23.0.90.1 (i486-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-02-10 on iridium, modified by Debian
 (emacs-snapshot package, version 1:20090207-1~intrepid1)
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.90/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.90/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

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: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-mode: t
  tooltip-mode: t
  tool-bar-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
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x s e t - f SPC a SPC s SPC <tab> <tab> <return> 
C-g <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<options> <menu-set-font> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <options> <menu-set-font> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <right> M-x r e p o SPC SPC r SPC SPC SPC 
<return> C-g C-x C-f C-g M-x r e p o r SPC SPC SPC 
<return>

Recent messages:
Skipping dictionaries-common setup for emacs-snapshot
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /home/tytso/.emacs.custom...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
Quit [2 times]
call-interactively: End of buffer
Making completion list... [2 times]
Quit
Quit






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

end of thread, other threads:[~2009-02-18 13:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-16 15:26 bug#2334: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function Chong Yidong
2009-02-16 16:00 ` Theodore Tso
2009-02-16 18:22   ` Chong Yidong
2009-02-18  6:00 ` Kenichi Handa
2009-02-18 13:48   ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2009-02-15  5:32 Theodore Ts'o

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