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

Bug#256086: Bold characters and font change with VT100*boldMode off



Branden Robinson wrote:
Uh, can you (or Thomas Dickey) please summarize what the bug is
here?

Yes, I believe I can get it right:

Set the resources:

XTerm*VT100*font: 7x14
XTerm*VT100*boldFont: 7x14

Also set the boldMode resource on.

The manual describes the effect of boldMode as (in part):
  This specifies whether or not text with the bold attribute
  should be overstruck to simulate bold fonts if the resolved
  bold font is the same as the normal font. It may be desirable
  to disable bold fonts when color is being used for the bold
  attribute. [...]

Initially the behavior is as described. Bold attribute characters are rendered as color, and not overstruck (or bold).

Then, use the (default) CTRL-<right mouse> menu to change the current font. Then, using this menu again, change the font back to the default or (possibly) another menu font item which you have set (as a resource) to correspond to the 7x14 alias.

The default bold font resource is no longer being used; characters with the bold attribute are rendered as overstruck or bold again.

Quoting Thomas Dickey from the initial submission:
I can reproduce this - looks like a bug. Essentially what's happening is that the first time it's using the resource settings, but the logic as I rewrote it around patch #181 (2003/10/26), lost the value of the bold font in the menu logic.

It is not a major bug.

dircha




Reply to: