]> git.lyx.org Git - features.git/commitdiff
Make lines more compact (less interline spacing).
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 10 Sep 2010 10:46:14 +0000 (10:46 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 10 Sep 2010 10:46:14 +0000 (10:46 +0000)
If there are use cases where this is useful, we can
think of a better way to reintroduce this.

Comments welcome.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35339 a592a061-630c-0410-9148-cb99ea01b6c8

src/TextMetrics.cpp

index 48dbdd7a69578ee98d6c09b26001e3d0a5843dfc..b9e55a34f806e2ff0ce9027731a452b5ecc0c3da 100644 (file)
@@ -1053,10 +1053,6 @@ Dimension TextMetrics::rowHeight(pit_type const pit, pos_type const first,
                maxdesc = max(maxdesc, maxfontmetrics.maxDescent());
        }
 
-       // This is nicer with box insets:
-       ++maxasc;
-       ++maxdesc;
-
        ParagraphList const & pars = text_->paragraphs();
        Inset const & inset = text_->inset();