Skip to content
Permalink
Browse files

Dxf export: fix order in multiline labels

  • Loading branch information
mhugent committed Jan 17, 2014
1 parent 4b60d09 commit 6926bc92744ed281b157d700fafa861154cebddc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/dxf/qgsdxfpallabeling.cpp
@@ -88,7 +88,7 @@ void QgsDxfPalLabeling::drawLabel( pal::LabelPosition* label, QgsRenderContext&

for ( int i = 0; i < textList.size(); ++i )
{
mDxfExport->writeText( layerName, textList.at( i ), QgsPoint( label->getX(), label->getY() + i * textHeight ), textAscent, angle, mDxfExport->closestColorMatch( tmpLyr.textColor.rgb() ) );
mDxfExport->writeText( layerName, textList.at( i ), QgsPoint( label->getX(), label->getY() + ( textList.size() -1 - i ) * textHeight ), textAscent, angle, mDxfExport->closestColorMatch( tmpLyr.textColor.rgb() ) );
}
}
}

0 comments on commit 6926bc9

Please sign in to comment.
You can’t perform that action at this time.