help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable bold fonts?


From: David
Subject: Re: Disable bold fonts?
Date: Thu, 02 Oct 2008 12:03:06 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]