Skip to content

Commit c726020

Browse files
committedJun 6, 2014
Fix line break in dxf label export
1 parent 211399c commit c726020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/dxf/qgsdxfpallabeling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void QgsDxfPalLabeling::drawLabel( pal::LabelPosition* label, QgsRenderContext&
9191
}
9292
mDxfExport->writePolyline( line, layerName, "CONTINUOUS", 1, 0.01, true );*/
9393

94-
QStringList textList = text.split( "\n" );
94+
QStringList textList = text.split( tmpLyr.wrapChar );
9595
double textHeight = label->getHeight() / textList.size();
9696
QFontMetricsF fm( tmpLyr.textFont );
9797
double textAscent = textHeight * fm.ascent() / fm.height();

0 commit comments

Comments
 (0)
Please sign in to comment.