From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Kenichi Handa <handa@m17n.org>
Subject: bug#2714: marked as done (23.0.91; set-default-font incorrectly changes font height?)
Date: Thu, 19 Mar 2009 11:15:03 +0000 [thread overview]
Message-ID: <handler.2714.D2714.123746100814267.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 87ljr2gxhp.fsf@catnip.gol.com
[-- Attachment #1: Type: text/plain, Size: 911 bytes --]
Your message dated Thu, 19 Mar 2009 20:10:27 +0900
with message-id <E1LkG8p-0006wU-Lh@etlken>
and subject line Re: bug#2714: 23.0.91; set-default-font incorrectly changes font height?
has caused the Emacs bug report #2714,
regarding 23.0.91; set-default-font incorrectly changes font height?
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.)
--
2714: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2714
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 5612 bytes --]
From: Miles Bader <miles@gnu.org>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.91; set-default-font incorrectly changes font height?
Date: Thu, 19 Mar 2009 09:36:02 +0900
Message-ID: <87ljr2gxhp.fsf@catnip.gol.com>
When I use `set-default-font', it seems to affect the font-height even
though I explicitly tell it to only change the family.
To reproduce:
(1) Start emacs with: emacs -Q
(2) Evaluate the following in *scratch*:
(set-default-font "Liberation Mono-8")
Notice that the font is now fairly small, as I specified an 8-point font.
(3) Evaluate the following in *scratch*:
(set-fontset-font nil 'unicode
(font-spec :family "Dejavu Sans Mono")
nil 'prepend)
(4) ** Notice that the default font size has changed to become fairly
large , even though I explicitly specified only the family to
`set-fontset-font'. **
(5) I can then force the size back to the original correct size using:
(set-face-attribute 'default nil :height 80)
[Hopefully you have those two fonts on your system, as they're common
free fonts; however any two scalable fonts will probably work.]
Thanks,
-Miles
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/23.0.91/etc/DEBUG for instructions.
In GNU Emacs 23.0.91.14 (x86_64-unknown-linux-gnu, GTK+ Version 2.15.5)
of 2009-03-18 on catnip
Windowing system distributor `The X.Org Foundation', version 11.0.10599902
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: ja_JP.UTF-8
value of $XMODIFIERS: @im=SCIM
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
rcirc-track-minor-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-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:
8 " ) <return> C-x C-v ~ / . e m a c s . e l <return>
<escape> > C-u C-p C-u C-p C-u C-p C-p C-SPC C-n <escape>
w C-x C-n C-SPC C-p C-SPC C-n C-n <escape> w C-x b
<return> C-y C-p C-e C-p M-b M-b M-b <escape> h <escape>
h D e j a v u SPC S a n s SPC m <backspace> M o n o
<escape> d C-n M-b M-b M-b M-b C o u r i e r <escape>
d <escape> d <escape> d C-x C-s C-s e C-p C-p M-b M-b
<escape> h C-x C-s C-n C-h f <return> C-x o C-v C-n
<tab> <return> C-x p C-f ( f o n t - s p e c SPC "
f a m i l <escape> h <backspace> : f a m i l y SPC
C-M-f ) C-M-b C-n C-b C-n C-M-f C-M-f C-M-f C-M-f C-M-b
( f o n t <escape> ' SPC : f a m i l y SPC C-M-f )
C-x C-s C-p C-p C-a C-k C-k C-e M-b M-b M-b <escape>
C-g C-a C-y C-p M-f M-f M-p C-a C-k C-k C-x C-s ( s
e t - f a c e - a t t r i b u t e SPC : <backspace>
' d e f a u l t SPC n i l SPC : h e i g h t SPC " 8
0 " ) C-j C-p C-SPC C-e <escape> w C-a C-k C-p C-p
C-p C-n ; C-x C-s C-SPC C-e <escape> w C-/ C-n C-n
C-SPC C-p C-p C-p <escape> w r e C-g <escape> x r e
p o C-g <escape> h <escape> x r e p o r t - e m a SPC
<return>
Recent messages:
Saving file /tmp/.emacs...
Wrote /tmp/.emacs
Mark set
Undo!
Mark set
xding
Quit
xding
Quit
Scanning for dabbrevs...100%
--
Barometer, n. An ingenious instrument which indicates what kind of weather we
are having.
[-- Attachment #3: Type: message/rfc822, Size: 2356 bytes --]
From: Kenichi Handa <handa@m17n.org>
To: Miles Bader <miles@gnu.org>
Cc: 2714-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2714: 23.0.91; set-default-font incorrectly changes font height?
Date: Thu, 19 Mar 2009 20:10:27 +0900
Message-ID: <E1LkG8p-0006wU-Lh@etlken>
In article <fc339e4a0903190115i4b3f89daw3cb24873b74084d7@mail.gmail.com>, Miles Bader <miles@gnu.org> writes:
> On Thu, Mar 19, 2009 at 3:53 PM, Kenichi Handa <handa@m17n.org> wrote:
>>> When I use `set-default-font', it seems to affect the font-height even
>>> though I explicitly tell it to only change the family.
> >
> > I've just installed a fix. Could you please try again
> > with the latest code?
> Hi, I tested, and it seems to work correctly now!
Thank you for testing it. I'll close bug#2714.
---
Kenichi Handa
handa@m17n.org
prev parent reply other threads:[~2009-03-19 11:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1LkG8p-0006wU-Lh@etlken>
2009-03-19 0:36 ` bug#2714: 23.0.91; set-default-font incorrectly changes font height? Miles Bader
2009-03-19 6:53 ` Kenichi Handa
2009-03-19 8:15 ` Miles Bader
2009-03-19 11:15 ` 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.2714.D2714.123746100814267.ackdone@emacsbugs.donarmstrong.com \
--to=owner@emacsbugs.donarmstrong.com \
--cc=handa@m17n.org \
/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.