mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
enable some non-rtl optimization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20021 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f3870fccc0
commit
3b6eb864d5
@ -261,7 +261,7 @@ Font TextMetrics::getDisplayFont(pit_type pit, pos_type pos) const
|
|||||||
|
|
||||||
bool TextMetrics::isRTL(CursorSlice const & sl, bool boundary) const
|
bool TextMetrics::isRTL(CursorSlice const & sl, bool boundary) const
|
||||||
{
|
{
|
||||||
if (!lyxrc.rtl_support && !sl.text())
|
if (!lyxrc.rtl_support || !sl.text())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
int correction = 0;
|
int correction = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user