ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #97477
Re: [Bug 44630] Re: xterm rendering this font real ugly
On Tue, Nov 2, 2010 at 19:11, Thomas Dickey <dickey@xxxxxxx> wrote:
> On Tue, 2 Nov 2010, Zenaan Harkness wrote:
>> Second:
>>>> The following shell code disables bold (overstrike) fonts in xterm:
>>>> echo -e "\e[1mA\e[2J\e[7mB\e[m\e[?5h\e[?5l"
>>>
>>> well... that doesn't disable bold fonts.
>>
>> Actually, this does disable overstrike (sometimes called bold) fonts.
>>
>> May be it's not meant to, but it does, so your words are incorrect and/
>> or based on false assumptions. This solution has been working for me for
>> 2 to 3 years.
>
> I'm curious what you're seeing. I tested it last night, found that it
> didn't work. (I tested it with ncurses' test-screen 'b', found that I
> still got overstruck bold...).
Ok sure. I've attached two images, before-echo-trick.png and
after-echo-trick.png. They are screen capture of my xterm, cropped,
zoomed four or so times in gimp, screen captured + cropped again (so
it's easy to see what's going on, and keep them small, and since
gimp->image->scale image, produces a fuzzy larger image not a crisp
larger image).
It is really easy to see the difference, and moreso with these zoomed
images.
This was an xterm that I ran from an icon on my gnome shell taskbar
which simply runs "xterm".
Also attached is my ~/.Xresources
I'm happy to send further details if you need something else to check.
Please note, I am on Ubuntu 8.04.
PLEASE NOTE, even though I am on Ubuntu 8.04, when I chroot into an
Ubuntu 10.04 Lucid chroot, and start an xterm (without having run the
echo... trick in the 'parent/host' term), the new xterm does not have
the problem.
So this problem appears to be a bug in xterm which has indeed been
fixed, as it suggests near the bottom of the debian bug you point out
here:
>> Please see the following URLs:
>>
>> http://superuser.com/questions/15226/how-do-i-make-xterm-not-use-bold
>
> ...which in turn refers you to
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347790
OK, this guy says he uses these settings to stop bolding (in his
original bug report at the top there):
*XTerm*boldMode: false
*XTerm*boldFont: fixed
Well, these xterm settings simply didn't work for me, and the solution
I found, with the 'echo' incantation, does work, as you can see from
my attached images.
Best
Zenaan
** Attachment added: "before-echo-trick.png"
https://bugs.launchpad.net/bugs/44630/+attachment/1720542/+files/before-echo-trick.png
** Attachment added: "after-echo-trick.png"
https://bugs.launchpad.net/bugs/44630/+attachment/1720543/+files/after-echo-trick.png
** Attachment added: ".Xresources"
https://bugs.launchpad.net/bugs/44630/+attachment/1720544/+files/.Xresources
--
xterm rendering this font real ugly
https://bugs.launchpad.net/bugs/44630
You received this bug notification because you are a member of Ubuntu-X,
which is a direct subscriber.
Follow ups
References