unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David <de_bb@arcor.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Disable bold fonts?
Date: Thu, 02 Oct 2008 12:03:06 +0200	[thread overview]
Message-ID: <87d4ijqpph.fsf@arcor.de> (raw)
In-Reply-To: 20081002024646.GA22924@metasyntax.net

Taylor Venable <taylor@metasyntax.net> writes:
> Is there a way to disable bold fonts entirely?  Some X fonts (for
> example, the smaller -misc-fixed ones) look ugly to me in bold, so I'm
> looking for a way to disable bold in general rather than removing it
> from every face I see that uses 'bold for the :weight attribute.

I don't know if you can disable bold in general, but your latter
approach can be done with these few lines:

(mapc
 (lambda (face)
	(when (eq (face-attribute face :weight) 'bold)
	  (set-face-attribute face nil :weight 'normal)))
 (face-list))

-David





  reply	other threads:[~2008-10-02 10:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02  2:46 Disable bold fonts? Taylor Venable
2008-10-02 10:03 ` David [this message]
2008-10-02 10:21 ` Peter Dyballa
2008-10-02 11:11   ` Taylor Venable
     [not found]   ` <mailman.31.1222945908.25473.help-gnu-emacs@gnu.org>
2008-10-02 12:22     ` Chetan
2008-10-02 15:27 ` Drew Adams
     [not found] <mailman.13.1222915611.25473.help-gnu-emacs@gnu.org>
2008-10-02 16:03 ` Chetan

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87d4ijqpph.fsf@arcor.de \
    --to=de_bb@arcor.de \
    --cc=help-gnu-emacs@gnu.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.
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).