X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Frowpainter.cpp;h=e3dfefba8f9acd60db54af12817cf2100183e8f5;hb=8524ee93c35ed3ca15a0aaafa7b893f2f7d21f47;hp=748658f093d83381622ce2c3e29aa9c80e89d902;hpb=22421dffb3d3918ef27aac53a3746dc2f771390e;p=lyx.git diff --git a/src/rowpainter.cpp b/src/rowpainter.cpp index 748658f093..e3dfefba8f 100644 --- a/src/rowpainter.cpp +++ b/src/rowpainter.cpp @@ -429,7 +429,8 @@ void RowPainter::paintFromPos(pos_type & vpos) // special case languages std::string const & lang = orig_font.language()->lang(); bool const hebrew = lang == "hebrew"; - bool const arabic = lang == "arabic" || lang == "farsi"; + bool const arabic = lang == "arabic_arabtex" || lang == "arabic_arabi" || + lang == "farsi"; // draw as many chars as we can if ((!hebrew && !arabic)