]> git.lyx.org Git - features.git/commit
Fix getColumnNearX for nested insets
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 11 Oct 2013 14:12:20 +0000 (16:12 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 25 Jun 2014 15:55:30 +0000 (17:55 +0200)
commit059de2d04c40c63a013896e99a444b65529eb82d
tree9d072e72fc8b94e99b79296617b2553451599867
parent6258cebb77d63928313cae14bbba5d7f092d0a5e
Fix getColumnNearX for nested insets

The horizontal position of the inset was not taken in account.
The rounding is not always the same as with the old code, but this
is not really important.

Additional changes:

 * improve debug output of rows

 * remove Bidi& argument of the RowPainter constructor, since it is always
   an empty Bifi that is passed. This means that the Bidi class is not
   used at all any more in TextMetrics.cpp. The only remaining user is
   RowPainter.
00README_STR_METRICS_BRANCH
src/Row.cpp
src/TextMetrics.cpp
src/rowpainter.cpp
src/rowpainter.h