Mercurial > hg > svgui
changeset 1224:d25f1f99c6fa
Minor debug
| author | Chris Cannam |
|---|---|
| date | Thu, 26 Jan 2017 21:15:27 +0000 |
| parents | 312f99a9f2aa |
| children | 37f86e26a8d2 |
| files | view/ViewManager.cpp |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/view/ViewManager.cpp Thu Jan 26 21:15:20 2017 +0000 +++ b/view/ViewManager.cpp Thu Jan 26 21:15:27 2017 +0000 @@ -804,6 +804,9 @@ #endif double em = QFontMetrics(QFont()).height(); ratio = em / baseEm; + + SVDEBUG << "ViewManager::scalePixelSize: ratio is " << ratio + << " (em = " << em << ")" << endl; } int scaled = int(pixels * ratio + 0.5);
