Skip to content
Permalink
Browse files
Fix multiple overlaps of curved labels (fix #12792)
  • Loading branch information
nyalldawson committed May 21, 2015
1 parent 195972a commit 7d97ab50fcdafb559d4d603a966ed7b606a95d79
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgspallabeling.cpp
@@ -4504,7 +4504,7 @@ void QgsPalLabeling::drawLabel( pal::LabelPosition* label, QgsRenderContext& con
}

//QgsDebugMsgLevel( "drawLabel " + txt, 4 );
QStringList multiLineList = QgsPalLabeling::splitToLines( text, tmpLyr.wrapChar );
QStringList multiLineList = QgsPalLabeling::splitToLines( txt, tmpLyr.wrapChar );
int lines = multiLineList.size();

double labelWidest = 0.0;

0 comments on commit 7d97ab5

Please sign in to comment.