Bug 233694 - When using Microsoft TrueType fonts and Droid Sans Mono, intense-colored output is often truncated
Summary: When using Microsoft TrueType fonts and Droid Sans Mono, intense-colored outp...
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.4.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 230206 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-08 07:30 UTC by Brian Beck
Modified: 2012-02-05 11:18 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Output of ls (11.21 KB, image/png)
2010-04-08 07:42 UTC, Brian Beck
Details
Output of man page (33.25 KB, image/png)
2010-04-08 07:43 UTC, Brian Beck
Details
font rendering bug in konsole, 'ls -l' output (95.75 KB, image/png)
2010-04-15 23:19 UTC, Alex Popovskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Beck 2010-04-08 07:30:20 UTC
Version:           2.4.2 (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

I installed the Microsoft TrueType fonts (msttcorefonts) from the universe repository (Kubuntu).  I set my konsole font to Andale Mono.  I notice now that oftentimes the output is truncated.  (I will include screenshots to make what I mean more clear.)  Changing the font size does not seem to fix the problem.  I think it may be a problem with the way the font is rendered, however, I'm not certain since none of the free fonts behave this way.

Thank you, and if there is anything I can do to help please let me know.
Comment 1 Brian Beck 2010-04-08 07:42:16 UTC
Created attachment 42585 [details]
Output of ls
Comment 2 Brian Beck 2010-04-08 07:43:04 UTC
Created attachment 42586 [details]
Output of man page
Comment 3 Alex Popovskiy 2010-04-15 23:17:10 UTC
This is not only with MS TT fonts but also with droid fonts. I use 'Droid Sans Mono' in konsole and have the same text output bug as above.
Comment 4 Alex Popovskiy 2010-04-15 23:19:29 UTC
Created attachment 42809 [details]
font rendering bug in konsole, 'ls -l' output
Comment 5 Tom Schumm 2010-05-02 19:35:43 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 Tom Schumm 2010-05-17 01:06:27 UTC
It seems there may be several related bug filings/dups (#213857, #217700, #226308, #230206, #233694). Through some trial and error I managed a workaround using .fonts.conf to just completely disable bolding of the my choice of console font:

  <match target="pattern">              
    <test name="family" qual="any">
      <string>AndaleMono</string>
    </test>
    <edit mode="assign" name="weight">
      <const>medium</const>
    </edit>
    <edit mode="assign" name="embolden">
      <bool>false</bool>
    </edit>
  </match>

Obviously, you'll want to substitute in whatever font you're using in Konsole. Obviously, this will disable bolding of that font *everywhere*, but it's worth it to get Konsole functioning again!
Comment 7 Brian Beck 2010-08-25 19:01:41 UTC
FYI: 
This bug still exists in:

Version 2.5
Using KDE Development Platform 4.5.00 (KDE 4.5.0)
Comment 8 Brian Beck 2010-09-02 19:44:38 UTC
[WORKAROUND]:  If you want to use the MS or Droid fonts turn off "Draw intense colors in bold font"

Settings -> Configure Profiles... -> [select your profile and click Edit Profile] -> Appearance tab
Comment 9 Jekyll Wu 2011-08-27 00:45:12 UTC
*** Bug 230206 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2011-10-29 11:05:48 UTC
The problem with Andale and Droid seems fixed since Qt-4.7.4, or Qt-4.8.0rc1.
Comment 11 Jekyll Wu 2012-02-05 11:18:19 UTC
Can't reproduce the problems using Konsole-2.8 and Qt-4.7.4 or higher verions.