Am Dienstag, den 18.12.2018, 10:00 +0100 schrieb Jürgen Spitzmüller: > I am about to bisect ...
Git bisect in stable tells me that 7950ace3d96543e3099aa3bde823f970a1ce6a86 is the first bad commit commit 7950ace3d96543e3099aa3bde823f970a1ce6a86 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sat Nov 3 15:55:33 2018 +0000 Fix selection of unmarked RtL text With Qt 5.11 at least, RtL text will be drawn RtL even when the (undocumented) flag Qt::TextForceLeftToRight is applied to the QTextLayout object. This creates selection issues for Hebrew text marked as English. The solution is to do the same as in breakAt_helper, that is prepend the string with a direction override unicode character. Doing this requires to introduce a TEXTLAYOUT_OFFSET constant that has to be used wisely to account for this extra character. Fixes bug #11284. (cherry picked from commit 1bed76e2a1057ab2f3f33f01ec23956653265d4a) Before this commit, the lines are drawn perfectly fitting. Jürgen > > Jürgen > > > JMarc
signature.asc
Description: This is a digitally signed message part