all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Chong Yidong <cyd@stupidchicken.com>
Subject: bug#2334: marked as done (23.0.90; emacs-snapshot has ugly fonts  when using set-default-font elisp function)
Date: Thu, 19 Feb 2009 03:25:04 +0000	[thread overview]
Message-ID: <handler.2334.D2334.123501343932731.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: E1LYZcC-00046g-0S@thunker.thunk.org

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


Your message dated Wed, 18 Feb 2009 22:18:11 -0500
with message-id <878wo3qfm4.fsf@cyd.mit.edu>
and subject line Re: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function
has caused the Emacs bug report #2334,
regarding 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2334: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2334
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5693 bytes --]

From: "Theodore Ts'o" <tytso@mit.edu>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function
Date: Sun, 15 Feb 2009 00:32:28 -0500
Message-ID: <E1LYZcC-00046g-0S@thunker.thunk.org>

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



[-- Attachment #3: Type: message/rfc822, Size: 2298 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Kenichi Handa <handa@m17n.org>
Cc: tytso@mit.edu, 2334-done@emacsbugs.donarmstrong.com
Subject: Re: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function
Date: Wed, 18 Feb 2009 22:18:11 -0500
Message-ID: <878wo3qfm4.fsf@cyd.mit.edu>

Kenichi Handa <handa@m17n.org> writes:

> I at first want to figure out why the above two methods for
> seting a font are different.  At least, I can't reproduce
> the difference.  Can you?  When I have "dejavu sans mono"
> fonts both for fontconfig and X as below, both methods set
> the default font to X font.

If the frame is already using an XFT font, doing

 (set-face-attribute 'default (selected-frame)
                     :font "DejaVu Sans Mono 10")

will give an XFT (anti-aliased) version of DejaVu Sans Mono.  If the
frame is using an X font, the same code gives the X version of DejaVu
Sans Mono.

Doing

  (modify-frame-parameters (selected-frame)
     (list (cons 'font "DejaVu Sans Mono 10")))

always returns the X version.  This discrepancy is due to the use of
font_open_by_name instead of font_load_for_lface.

I don't think there is anything that need to be corrected, apart from
giving the XFT driver a higher priority; I've just done that.


      reply	other threads:[~2009-02-19  3:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <878wo3qfm4.fsf@cyd.mit.edu>
2009-02-15  5:32 ` bug#2334: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function Theodore Ts'o
2009-02-19  3:25   ` Emacs bug Tracking System [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.2334.D2334.123501343932731.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.