https://bugs.documentfoundation.org/show_bug.cgi?id=125986
--- Comment #12 from Erez Wanderman <[email protected]> ---
Found the following: this code is in sw\source\core\text\inftxt.cxx:
// Set default layout mode ( LTR or RTL ).
if ( m_pFrame->IsRightToLeft() )
{
m_pOut->SetLayoutMode( ComplexTextLayoutFlags::BiDiStrong |
ComplexTextLayoutFlags::BiDiRtl );
m_pRef->SetLayoutMode( ComplexTextLayoutFlags::BiDiStrong |
ComplexTextLayoutFlags::BiDiRtl );
m_nDirection = DIR_RIGHT2LEFT;
}
else
{
m_pOut->SetLayoutMode( ComplexTextLayoutFlags::BiDiStrong );
m_pRef->SetLayoutMode( ComplexTextLayoutFlags::BiDiStrong );
m_nDirection = DIR_LEFT2RIGHT;
}
If I comment the "if" part and keep only the else, then in the exported PDF,
the metafile is OK. However, this breaks other scenarios in the main display
and in exported PDF. (is the export to PDF using different rendering logic?)
I hope someone can find a proper fix for this.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs