Skip to content

Commit 6926bc9

Browse files
committed
Dxf export: fix order in multiline labels
1 parent 4b60d09 commit 6926bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/dxf/qgsdxfpallabeling.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void QgsDxfPalLabeling::drawLabel( pal::LabelPosition* label, QgsRenderContext&
8888

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

0 commit comments

Comments
 (0)