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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user