Kaydet (Commit) 98c55e4c authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

WMF: partially revert change as for some documents text is not drawn

revert part of 00e577ac which
causes that the text in some WMF images is not drawn. For example
the document in fdo#56886

Change-Id: I401c702f0567b1f142a82a4417abe719687a86f9
üst 2067d03f
......@@ -460,13 +460,11 @@ void WinMtfOutput::ImplMap( Font& rFont )
{
// !!! HACK: we now always set the width to zero because the OS width is interpreted differently;
// must later be made portable in SV (KA 1996-02-08)
Size aFontSize = rFont.GetSize();
Size aFontSize = ImplMap (rFont.GetSize());
if( aFontSize.Height() < 0 )
aFontSize.Height() *= -1;
aFontSize = ImplMap (aFontSize);
rFont.SetSize( aFontSize );
if( ( mnWinExtX * mnWinExtY ) < 0 )
......
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