mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Do not swap parens and stuff with babel and Xe/LuaTeX
This commit is contained in:
parent
e2011856bc
commit
81d6965c81
@ -2027,9 +2027,11 @@ char_type Paragraph::getUChar(BufferParams const & bparams,
|
||||
char_type c = d->text_[pos];
|
||||
|
||||
// Return unchanged character in LTR languages
|
||||
// or if we use poylglossia/bidi (XeTeX).
|
||||
if (rp.useBidiPackage()
|
||||
|| !getFontSettings(bparams, pos).isRightToLeft())
|
||||
// or if we use poylglossia/bidi (XeTeX)
|
||||
// or with babel and Xe/LuaTeX.
|
||||
if (!getFontSettings(bparams, pos).isRightToLeft()
|
||||
|| rp.useBidiPackage()
|
||||
|| (rp.use_babel && rp.isFullUnicode()))
|
||||
return c;
|
||||
|
||||
// Without polyglossia/bidi, we need to account for some special cases.
|
||||
|
Loading…
Reference in New Issue
Block a user