Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for label size in printing output (bug #1097)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8557 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 31, 2008
1 parent 820d87d commit 508b215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -284,7 +284,7 @@ void QgsVectorLayer::drawLabels(QgsRenderContext& renderContext)
{
return;
}
drawLabels(thePainter, renderContext.extent(), &(renderContext.mapToPixel()), renderContext.coordTransform(), renderContext.scaleFactor());
drawLabels(thePainter, renderContext.extent(), &(renderContext.mapToPixel()), renderContext.coordTransform(), 1.0 / renderContext.rasterScaleFactor());
}

// NOTE this is a temporary method added by Tim to prevent label clipping
Expand Down

0 comments on commit 508b215

Please sign in to comment.