GNU bug report logs - #12349
24.2.50; Italic face is underlined instead of slanted

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Tue, 4 Sep 2012 11:27:01 UTC

Severity: minor

Tags: moreinfo

Found in version 24.2.50

Done: Stephen Berman <stephen.berman <at> gmx.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 12349 <at> debbugs.gnu.org
Subject: bug#12349: 24.2.50; Italic face is underlined instead of slanted
Date: Sun, 04 Nov 2012 21:44:47 +0100
On Sun, 04 Nov 2012 13:35:19 +0800 Chong Yidong <cyd <at> gnu.org> wrote:

> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>> When I start Emacs with my init file or with -q, doing `M-x
>> customize-face RET italic' shows this:
>>
>> Hide italic face: [sample]
>>     State : STANDARD.
>>    Basic italic face.
>>    [X] Underline: Value Menu On:
>>
>> This behavior began with my build from bzr trunk revision 109818.
>
> That doesn't look right; 109818 is a doc fix to compile.el.

Sorry for the confusion; I meant that the problem appeared no later than that
revision (there are usually many revisions between my Emacs builds).

>> (setq default-frame-alist
>>       '((font . "Dejavu Sans Mono-9") (font-backend . "xft")))
>>
>> which suffices, in my build from revision 109703, to show italic as
>> slanted; but since revision 109818, italic is shown as underlined even
>> with the above sexp.
>>
>> I ran bzr bisect, and if I used it correctly (which I'm not sure of), it
>> appears to implicate revision 109788:
>>
>> On revision 109788 (dmantipov <at> yandex.ru-20120827041533-3cy7pdjdqz14o90c):      
>> Special MEM_TYPE_SPARE to denote reserved memory.
>> * alloc.c (enum mem_type): New memory type.
>> (refill_memory_reserve): Use new type for spare memory.
>> This prevents live_cons_p and live_string_p from incorrect
>> detection of uninitialized objects from spare memory as live.
>
> This makes no sense either; Dmitry's patch does not touch any part of
> the code which can affect the behavior you're describing.  Are you sure
> you are bisecting correctly?

Now I'm sure I didn't do it right; when I have time I'll try to do a
proper bisection.

>> my system (openSUSE 12.1) has this in /usr/share/X11/app-defaults/Emacs:
>>
>> Emacs.Font:                     fontset-16
>> [...]
>> Emacs*Fontset-0:\
>>         -*-fixed-medium-r-*--16-*-*-*-*-*-fontset-16,\
>
> I guess openSUSE is still catering to pre-Xft (< 23.1) Emacs.  You
> should be able to safely remove the Emacs.Font setting (or do
> `xrdb -remove'), so that Emacs uses xft fonts by default.

It also works to put `Emacs.FontBackend: xft' in ~/.Xresources.  Yet
that wasn't necessary before whichever change between revisions 109704
and 109818 made italics show up as underlined even when setting
default-frame-alist in my init file as above.  I hope I have time to
track down which revision is responsible.

Steve Berman




This bug report was last modified 6 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.