This commit is contained in:
Nyall Dawson 2024-05-24 13:35:59 +10:00
parent bec640b158
commit f128fa4443

View File

@ -787,7 +787,7 @@ void QgsVectorLayerLabelProvider::drawLabelPrivate( pal::LabelPosition *label, Q
const QStringList multiLineList = QgsPalLabeling::splitToLines( txt, tmpLyr.wrapChar, tmpLyr.autoWrapLength, tmpLyr.useMaxLineLengthForAutoWrap );
for ( const QString &line : multiLineList )
{
document.append( QgsTextBlock::fromPlainText( line, c ) );
document.append( QgsTextBlock::fromPlainText( line, c ) );
}
QgsScopedRenderContextReferenceScaleOverride referenceScaleOverride( context, -1.0 );