Skip to content

Commit 279a1f5

Browse files
author
mhugent
committed
Fix for disappearing small labels in printout
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15652 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c980c12 commit 279a1f5

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)