Bug 81887 - Allow kate to display text with different line spacing
Summary: Allow kate to display text with different line spacing
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-20 05:46 UTC by Verdi March
Modified: 2012-10-29 05:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Verdi March 2004-05-20 05:47:00 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    SuSE RPMs

I believe giving kate an option to adjust the line spacing
displayed can be useful. For instance, the "kile (display)"
scheme could display text using 1.5 line spacing.
Comment 1 Verdi March 2004-08-27 09:05:33 UTC
A screenshot comparing text display in Kile and Winshell is
available at http://www.comp.nus.edu.sg/~verdimar/spacing.png

The font used is "Courrier New 9pt" and is displayed at 96dpi.
The left-side is Kile (1 spacing) and the right-side is
Winshell (1.5 spacing, I believe).
Comment 2 Anders Lund 2004-09-27 21:14:44 UTC
This would not be too hard to provide I assume. Hamish, could we have KateFontMetrics keep track of a line spacing, and would that be enough?
Comment 3 Maciej Pilichowski 2006-07-19 16:05:32 UTC
Very useful feature -- I opt for line spacing per application, so when it is set is set for good for all documents.
It is not just a matter of artistic look (like in word processors) but text readability -- I use Courier font, 11 size, and 1-2 pixel after each line would be a great help. 
Comment 4 Maciej Pilichowski 2009-01-23 22:48:19 UTC
And letter spacing as well -- as before, easier reading (it has nothing to do with font size, small, big, it is always tightly packed).
Comment 5 Christoph Cullmann 2012-10-29 05:58:39 UTC
We use now QTextLayout and such alterations are no longer simply possible as Qt handles the layout. This will make the code even more complex and therefore won't happen.