Skip to content

Commit ddccc15

Browse files
author
mhugent
committedMar 31, 2011
Fix for disappearing small labels in printout
git-svn-id: http://svn.osgeo.org/qgis/trunk@15652 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 4f143c0 commit ddccc15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgspallabeling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ void QgsPalLayerSettings::calculateLabelSize( const QFontMetricsF* fm, QString t
419419
w /= rasterCompressFactor;
420420
}
421421
}
422-
QgsPoint ptSize = xform->toMapCoordinates( w, h );
422+
QgsPoint ptSize = xform->toMapCoordinatesF( w, h );
423423

424424
labelX = qAbs( ptSize.x() - ptZero.x() );
425425
labelY = qAbs( ptSize.y() - ptZero.y() );

0 commit comments

Comments
 (0)
Please sign in to comment.