removed m_scaleFactor from PS printing (had random value)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-05-14 17:31:34 +00:00
parent f6f9b93b17
commit d3c3c062d9

View File

@@ -2113,7 +2113,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
pt = (double*) &m_underlinePosition; pt = (double*) &m_underlinePosition;
*pt = UnderlinePosition * fontToUse->GetPointSize() / 1000.0f; *pt = UnderlinePosition * fontToUse->GetPointSize() / 1000.0f;
pt = (double*) &m_underlineThickness; pt = (double*) &m_underlineThickness;
*pt = UnderlineThickness * fontToUse->GetPointSize() / 1000.0f * m_scaleFactor; *pt = UnderlineThickness * fontToUse->GetPointSize() / 1000.0f;
} }
/* 3. now the font metrics are read in, calc size this /* 3. now the font metrics are read in, calc size this