[Konsole-devel] [Bug 199738] New: A slight reduction in konsole default line spacing

John Stanley jpsinthemix at verizon.net
Sat Jul 11 00:05:55 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=199738

           Summary: A slight reduction in konsole default line spacing
           Product: konsole
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: jpsinthemix at verizon.net


Version:            (using KDE 4.2.4)
Compiler:          gcc-4.4.0 linux-2.6.30.1 glibc-2.10.1
OS:                Linux
Installed from:    Compiled From Sources

This may simply be a matter of taste, of concern to no one but me, but I find
the default konsole line spacing to be a bit to large in login bash shells and
in vim. To reduce the spacing a bit, I use the following patch (any chance of
incorporating this into konsole?):

 --- kdebase-4.2.96.old/apps/konsole/src/TerminalDisplay.cpp     2009-05-14
13:26:16.000000000 -0400
+++ kdebase-4.2.96.new/apps/konsole/src/TerminalDisplay.cpp     2009-07-09
20:28:04.682453580 -0400
@@ -209,7 +209,7 @@
 void TerminalDisplay::fontChange(const QFont&)
 {
   QFontMetrics fm(font());
-  _fontHeight = fm.height() + _lineSpacing;
+  _fontHeight = fm.lineSpacing() + _lineSpacing;

   // waba TerminalDisplay 1.123:
   // "Base character width on widest ASCII character. This prevents too wide

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list