- static const double dScreenDPI = 82;
- static const double dPointsPerInch = 72.;
- m_dPointsPerPixel = dPointsPerInch / dScreenDPI;
- const int iTestPointSize = 72;
- m_font.SetPointSize (iTestPointSize);
- m_driver.idWX()->SetFont(m_font);
- double dTestCharHeight = m_driver.idWX()->GetCharHeight();
- m_dPointsPerPixel = iTestPointSize / dTestCharHeight;
+ static const double dScreenDPI = 82;
+ static const double dPointsPerInch = 72.;
+ m_dPointsPerPixel = dPointsPerInch / dScreenDPI;
+ const int iTestPointSize = 72;
+ m_font.SetPointSize (iTestPointSize);
+ m_driver.idWX()->SetFont(m_font);
+ double dTestCharHeight = m_driver.idWX()->GetCharHeight();
+ m_dPointsPerPixel = iTestPointSize / dTestCharHeight;