Kaydet (Commit) 5b910af0 authored tarafından Mark Hung's avatar Mark Hung

tdf#84522 fix reversed text of column break mark in a RTL page.

Set RTL falg for the font when the frame is right-to-left.

Change-Id: I834620ed44b01b9577ca6c7c42191f2400dd8219
Reviewed-on: https://gerrit.libreoffice.org/50673Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMark Hung <marklh9@gmail.com>
üst ed031c6c
......@@ -3598,7 +3598,7 @@ void SwColumnFrame::PaintBreak( ) const
aFont.SetFontHeight( 8 * 20 );
pOut->SetFont( aFont );
drawinglayer::attribute::FontAttribute aFontAttr = drawinglayer::primitive2d::getFontAttributeFromVclFont(
aFontSize, aFont, false, false );
aFontSize, aFont, IsRightToLeft(), false );
tools::Rectangle aTextRect;
pOut->GetTextBoundRect( aTextRect, aBreakText );
......
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