[Top][All Lists]

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

Re: Miles' patch still fixes xfaces.c

From: Robert J. Chassell
Subject: Re: Miles' patch still fixes xfaces.c
Date: Wed, 28 May 2003 00:46:17 +0000 (UTC)

   I don't remember the issue.  What does it mean to "permanently change"
   this?  And why can't you do it?  What happens if you try?

By "permanently change", I mean, put a change in my .emacs file that works.

The problem is that on my screen, some fonts display an unreadable
bold face when bold is set in the default manner.  A buffer list and
the mode line put some text in bold, the the problem is very

My solution is to change the `bold' weight to `normal' and to indicate
`bold' by changing the the color of the text.

The problem has been that the method of setting bold has been
hardwired at a low level, so it has been impossible to change the
font in my .emacs file.

In other words, by default `bold' is treated as a hard-wired command
to make the lines on a glyph wider.  It should be treated as the
equivalent of @strong in Texinfo, which indicates an argument that can
be displayed in various ways.

For example, I want to change  mode-line-buffer-identification
in my .emacs file by setting it like this:

      (#("%14b" 0 4
          ;; (:weight bold)
          (:weight normal)

but that fails.  The buffer name still is unreadable because the lines
that make up the characters continue to be wider than usual.  The
buffer name is not changed to normal weight, unless I apply Miles'

The same happens with the buffer names in a buffer list.

   Can Miles explain what caused the problem?
   Maybe we can find a better fix based on that info.

I hope so.  He predicted that his fix would cause Emacs to crash
occasionally, and he was right, although crashes are rare.

    Robert J. Chassell                         Rattlesnake Enterprises
    http://www.rattlesnake.com                  GnuPG Key ID: 004B4AC8
    http://www.teak.cc                             address@hidden

reply via email to

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