[QGIS Commit] r15652 - trunk/qgis/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Mar 31 08:23:53 EDT 2011
Author: mhugent
Date: 2011-03-31 05:23:53 -0700 (Thu, 31 Mar 2011)
New Revision: 15652
Modified:
trunk/qgis/src/core/qgspallabeling.cpp
Log:
Fix for disappearing small labels in printout
Modified: trunk/qgis/src/core/qgspallabeling.cpp
===================================================================
--- trunk/qgis/src/core/qgspallabeling.cpp 2011-03-31 11:18:10 UTC (rev 15651)
+++ trunk/qgis/src/core/qgspallabeling.cpp 2011-03-31 12:23:53 UTC (rev 15652)
@@ -419,7 +419,7 @@
w /= rasterCompressFactor;
}
}
- QgsPoint ptSize = xform->toMapCoordinates( w, h );
+ QgsPoint ptSize = xform->toMapCoordinatesF( w, h );
labelX = qAbs( ptSize.x() - ptZero.x() );
labelY = qAbs( ptSize.y() - ptZero.y() );
More information about the QGIS-commit
mailing list