Skip to content
Permalink
Browse files
Fix for disappearing small labels in printout
git-svn-id: http://svn.osgeo.org/qgis/trunk@15652 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Mar 31, 2011
1 parent 4f143c0 commit ddccc15f8c66c6395d936735eb99eeb339de5e2d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgspallabeling.cpp
@@ -419,7 +419,7 @@ void QgsPalLayerSettings::calculateLabelSize( const QFontMetricsF* fm, QString t
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() );

0 comments on commit ddccc15

Please sign in to comment.