]> git.lyx.org Git - lyx.git/commit
Fix drawing with pixmap cache
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 19 Oct 2015 14:34:04 +0000 (16:34 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 19 Oct 2015 14:38:05 +0000 (16:38 +0200)
commit1e075bdf55c9d54a01e73c4d02268cfab0cffd4f
treef895f2cb0e914995dbb45d9ec2d8f53159fa06e7
parent26eb5092fb69464d181caaf212d6a4d9c9cff2f0
Fix drawing with pixmap cache

The culprit was that the computation of textwidth did not take wordspacing in account.

Also fictor the code so that the pixmap path can use the special RTL handling.

It is not clear however that the handling of left and right bearing works correctly.
src/frontends/qt4/GuiPainter.cpp
src/frontends/qt4/GuiPainter.h