GNU bug report logs -
#12000
24.1.50; do not hard-code `bold' font for help output
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Fri, 20 Jul 2012 18:52:01 UTC
Severity: minor
Tags: notabug
Found in version 24.1.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12000 in the body.
You can then email your comments to 12000 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12000
; Package
emacs
.
(Fri, 20 Jul 2012 18:52:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Drew Adams" <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 20 Jul 2012 18:52:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Please, please, please stop hard-coding faces. You take power and
control away from users, and such an approach is short-sighted (if not
lazy).
Look at the attached screenshot, which shows the links to minor-mode
sections of the *Help* buffer in the output of `describe-mode'. Do you
find it readable with all that bold text? No, of course not. And the
annoyance is multiplied by the fact that a huge, run-on paragraph of
consecutive links is all in bold. (That run-on paragraph of links is
itself bad design, but that's another story.)
Yet the font used in the screenshot is a very good one in general - just
contrast the non-bold words in the screenshot with the NOISYUGLINESS of
the rest. The font is good, but it does not support boldness well. And
that is actually pretty common.
Bold is a bad choice even for a default face, because many good fonts do
not support it well. But especially is it horrible to hard-code the
choice. Hard-coding faces in Emacs code should be verboten, requiring a
special dispensation from the UN Secretary General or RMS.
This is the font used in the screen shot, FYI:
"-outline-Lucida
Console-normal-normal-normal-mono-14-*-*-*-c-*-iso8859-1"
Please give users a new face intended to be appropriate to the
particular use, so they can customize just that use case. Here, the use
is as a link in *Help* text, and the hard-coded face is `bold'.
Providing specific faces for given use cases means more faces, in
general. But that does not stop you from providing a default appearance
for a new face that, say, inherits from an existing face. Even (GNU
forbid!) from face `bold'.
The important thing is for users to be able to customize one use case,
without affecting other use cases all over the place. You should not
require a user to customize face `bold' just for this particular use,
with the attendant side effect that it also changes the appearance in
other, unrelated contexts.
In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600)
of 2012-07-16 on MARVIN
Bzr revision: 109106 fabian <at> anue.biz-20120716171839-0dv19ib9h6vfggfn
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
`configure --with-gcc (4.6) --no-opt --enable-checking --cflags
-ID:/devel/emacs/libs/libXpm-3.5.8/include
-ID:/devel/emacs/libs/libXpm-3.5.8/src
-ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
-ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
-ID:/devel/emacs/libs/giflib-4.1.4-1/include
-ID:/devel/emacs/libs/jpeg-6b-4/include
-ID:/devel/emacs/libs/tiff-3.8.2-1/include
-ID:/devel/emacs/libs/gnutls-3.0.9/include
-ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
-ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
[throw-ugly-bold.png (image/png, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12000
; Package
emacs
.
(Fri, 20 Jul 2012 19:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 12000 <at> debbugs.gnu.org (full text, mbox):
Two things to add, for clarification:
1. There is an overlay on this text that uses face `button'. But face `bold' is
also used on the text, and is hard-coded in `describe-mode':
(add-text-properties 0 (length pretty-minor-mode)
'(face bold) pretty-minor-mode)
It is the hard-coding of `bold' here that is objectionable.
2. The screenshot I sent was actually from Emacs 23.3. But the problem has not
changed for Emacs 24 (hard-coded face `bold' remains).
The only difference is that now face `button' inherits from face `link', so the
appearance is a bit different (blue, not black).
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12000
; Package
emacs
.
(Sun, 09 Feb 2014 03:34:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 12000 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> 2. The screenshot I sent was actually from Emacs 23.3. But the problem has not
> changed for Emacs 24 (hard-coded face `bold' remains).
>
> The only difference is that now face `button' inherits from face `link', so the
> appearance is a bit different (blue, not black).
If you have a font installed that has an ugly/unreadable bold variant,
the fix here is to install a better font. Closing.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Added tag(s) notabug.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 09 Feb 2014 03:34:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
12000 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 09 Feb 2014 03:34:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12000
; Package
emacs
.
(Mon, 10 Feb 2014 22:45:01 GMT)
Full text and
rfc822 format available.
Message #18 received at 12000 <at> debbugs.gnu.org (full text, mbox):
> > 2. The screenshot I sent was actually from Emacs 23.3. But the
> > problem has not changed for Emacs 24 (hard-coded face `bold' remains).
> >
> > The only difference is that now face `button' inherits from face
> > `link', so the appearance is a bit different (blue, not black).
>
> If you have a font installed that has an ugly/unreadable bold
> variant, the fix here is to install a better font. Closing.
No. The bug, as stated in the subject line and the bug report,
is hard-coding `bold'.
The fix is to stop such hard-coding. Reopening.
Did not alter fixed versions and reopened.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 10 Feb 2014 22:45:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12000
; Package
emacs
.
(Mon, 10 Feb 2014 23:11:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 12000 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> No. The bug, as stated in the subject line and the bug report,
> is hard-coding `bold'.
I'd consider this a design choice, not a bug.
--
Bastien
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12000
; Package
emacs
.
(Mon, 10 Feb 2014 23:34:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 12000 <at> debbugs.gnu.org (full text, mbox):
> > No. The bug, as stated in the subject line and the bug report,
> > is hard-coding `bold'.
>
> I'd consider this a design choice, not a bug.
If it's by design then it is a design bug. There is no need
to hard-code things like this. Hard-coding takes power and
freedom away from Emacs users. It just puts obstacles in their
way. And typically, like here, gratuitously, with no gain.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12000
; Package
emacs
.
(Mon, 10 Feb 2014 23:41:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 12000 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
>> > No. The bug, as stated in the subject line and the bug report,
>> > is hard-coding `bold'.
>>
>> I'd consider this a design choice, not a bug.
>
> If it's by design then it is a design bug. There is no need
> to hard-code things like this. Hard-coding takes power and
> freedom away from Emacs users. It just puts obstacles in their
> way. And typically, like here, gratuitously, with no gain.
Please fill this as a feature request.
While people are fixing bugs before a release, such bug reports
are a distraction.
--
Bastien
bug closed, send any further explanations to
12000 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 11 Feb 2014 11:29:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 12 Mar 2014 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 105 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.