]> git.lyx.org Git - lyx.git/commit
Rewrite setRowHeight using row information
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 6 Mar 2016 15:22:53 +0000 (16:22 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 30 May 2016 12:55:41 +0000 (14:55 +0200)
commitac759b4368e2a3477c8ef81ebf749a68280ef3d8
treeabb72b32bdaea6c54200661035e7825a0d00d972
parent17516267769abde8c02ae44bd838e3fce373d9a4
Rewrite setRowHeight using row information

The initial values for maxasc and maxdes (renamed from maxdesc) is obtained as a maximum of max ascents/descents of all row elements.

This allows to get rid of Paragraph::highestFontInRange and FontList::highestInRange.

Some auxilliary variables declarations are also moved to where they are needed.
src/FontList.cpp
src/FontList.h
src/Paragraph.cpp
src/Paragraph.h
src/TextMetrics.cpp