Kaydet (Commit) 89093f50 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

Fix RTL character border

Change-Id: I9cad3f7689e5badafb7fe2cd3f707e3f226c9725
üst e90982f5
......@@ -642,6 +642,12 @@ void SwTxtPaintInfo::_DrawText( const OUString &rText, const SwLinePortion &rPor
if( !static_cast<const SwTxtPortion&>(rPor).GetJoinBorderWithPrev() )
{
const sal_uInt16 nLeftBorderSpace = m_pFnt->GetLeftBorderSpace();
if ( GetTxtFrm()->IsRightToLeft() )
{
aFontPos.X() -= nLeftBorderSpace;
}
else
{
switch( m_pFnt->GetOrientation(GetTxtFrm()->IsVertical()) )
{
case 0 :
......@@ -658,6 +664,7 @@ void SwTxtPaintInfo::_DrawText( const OUString &rText, const SwLinePortion &rPor
break;
}
}
}
if( GetTxtFly()->IsOn() )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment