diff --git a/drape_frontend/text_shape.cpp b/drape_frontend/text_shape.cpp index f167be54ed..48738279e4 100644 --- a/drape_frontend/text_shape.cpp +++ b/drape_frontend/text_shape.cpp @@ -1,5 +1,6 @@ #include "text_shape.hpp" #include "common_structures.hpp" +#include "fribidi.hpp" #include "../drape/shader_def.hpp" @@ -262,7 +263,7 @@ void TextShape::DrawUnicalTextLine(TextLine const & textLine, int setNum, int le void TextShape::Draw(dp::RefPointer batcher, dp::RefPointer textures) const { - strings::UniString const text = strings::MakeUniString(m_params.m_primaryText); + strings::UniString const text = fribidi::log2vis(strings::MakeUniString(m_params.m_primaryText)); int const size = text.size(); float const fontSize = m_params.m_primaryTextFont.m_size; float textLength = 0.0f; @@ -289,7 +290,7 @@ void TextShape::Draw(dp::RefPointer batcher, dp::RefPointer