vcl/source/filter/wmf/winmtf.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit bf25013d4332dd7ed18f591e1d8c0e9591b0a8a7 Author: Mike Kaganski <mike.kagan...@collabora.com> Date: Tue Sep 6 20:56:08 2016 +1000 tdf#39256: Fix "Orientation treated as Escapement" This fixes #5 issue of abovementioned bugzilla entry. As LO font doesn't support individual rotation of characters, now we simply ignore lfOrientation (as MS Word does). Change-Id: I36fd05f8e27f768ea690527360434df29e1d843f Reviewed-on: https://gerrit.libreoffice.org/28684 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: jan iversen <j...@documentfoundation.org> diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx index fba68a2..36aae28 100644 --- a/vcl/source/filter/wmf/winmtf.cxx +++ b/vcl/source/filter/wmf/winmtf.cxx @@ -248,10 +248,7 @@ WinMtfFontStyle::WinMtfFontStyle( LOGFONTW& rFont ) if( rFont.lfStrikeOut ) aFont.SetStrikeout( STRIKEOUT_SINGLE ); - if ( rFont.lfOrientation ) - aFont.SetOrientation( (short)rFont.lfOrientation ); - else - aFont.SetOrientation( (short)rFont.lfEscapement ); + aFont.SetOrientation( (short)rFont.lfEscapement ); Size aFontSize( Size( rFont.lfWidth, rFont.lfHeight ) ); if ( rFont.lfHeight > 0 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits