Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 ddccc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspallabeling.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit ddccc15

Please sign in to comment.