Resending as a new thread so it is more visible.... On 01/16/2017 02:04 PM, Scott Kostyshak wrote: > On Mon, Jan 16, 2017 at 01:13:44PM -0500, Richard Heck wrote: >> I am seeing display problems in stable with \notin and \noteq. The >> latter, for example, shows (In LyX) as "/=", rather than as ≠. Similarly >> for \notin. See the attachments. > Just a few data points: > > I can reproduce the problem on current 2.2.x branch. > I cannot reproduce on master or on 2.2.1.
Bisect blames: 24648404b3c85015584b1ca127e257cbecf3342d is the first bad commit commit 24648404b3c85015584b1ca127e257cbecf3342d Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sun Oct 23 20:52:01 2016 +0200 Work around issues with Qt5 and Arabic text This fixes two particular problems * with Qt5, it seems that QFontMetrics::width does not return the correct value for some Arabic text; this patch uses QTextLayout instead to compute a string width * Likewise, the undocumented layout flags TextForceRightToLeft and TextForceLeftToRight do not work with Arabic text; this patch uses unicode override characters instead. It might be that the two issues are related. In any case, they do not happen with latin text where right-to-left direction is enforced. And they do not happen with Qt4. Additionally, remove some dead code in GuiFontMetrics::pos2x(). Fixes bug #10436. (cherry picked from commit e832d2e90f300afb1b1255a486e56d059b2dfab7) Strange, though, that this does not cause the same problem in master. Probably that is due to other changes JMarc has made there. Richard