[Konsole-devel] [Bug 131770] no bold is displayed in konsole

Lars Doelle lars.doelle at on-line.de
Mon Aug 7 19:56:12 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131770         




------- Additional Comments From lars.doelle on-line de  2006-08-07 21:56 -------
Now bold is indeed broken, but I hate to say that the fix below is not in order.

> --- branches/KDE/3.5/kdebase/konsole/konsole/TEScreen.cpp #570193:570194
>  @ -501,7 +501,7  @
>  void TEScreen::effectiveRendition()
>  // calculate rendition
>  {
> -  ef_re = cu_re & (RE_UNDERLINE | RE_BLINK);
> +  ef_re = cu_re & (RE_UNDERLINE | RE_BLINK | RE_BOLD);
>    if (cu_re & RE_REVERSE)
>    {
>      ef_fg = cu_bg;


The omission of RE_BOLD in the line above was a feature.

The rendering might look like  xterm now, but this is bad. Xterm interprets
BOLD as intesive+bold. There are some oddities about intensive and bold
throughout various emulations, and the original version was a carefully
balanced treatment of this, now broken by the patch.

See [konsole/doc/color-schema] for some notes on it.

In general, the konsole interprets bold as intensive (like the linux console).
Only in particular situation, when e.g. intensive black == regular black, bold
is set. These exceptions are spelled in the *.schema files. This is subtile,
but wanted, as it improves the overall impression quite a bit.

I'll try to dig into the bug these days.

-lars



More information about the konsole-devel mailing list