Revert "Fix correction of row in getPitAndRowNearY"

This reverts commit 08a3405181.
This commit is contained in:
Jean-Marc Lasgouttes 2021-02-16 09:27:28 +01:00
parent f6c87c63c1
commit 2c2ae5ecd8

View File

@ -1371,7 +1371,7 @@ Row const & TextMetrics::getPitAndRowNearY(int & y, pit_type & pit,
--rit;
y = yy;
}
} else if (up && yy < y) {
} else if (up && yy != y) {
if (rit != rlast) {
y = yy + rit->height();
++rit;