Skip to content

Commit

Permalink
Hack to fix line widths (for dxf only?)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Dec 20, 2012
1 parent 307c49c commit 3a63b7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/symbology-ng/qgslinesymbollayerv2.cpp
Expand Up @@ -204,8 +204,9 @@ QString QgsSimpleLineSymbolLayerV2::ogrFeatureStyle() const
symbolStyle.append( "c:" );
symbolStyle.append( mPen.color().name() );
symbolStyle.append( ",w:" );
//dxf driver writes ground units as mm? Should probably be changed in ogr
symbolStyle.append( QString::number( mWidth ) );
symbolStyle.append( "mm" );
symbolStyle.append( "g" );
symbolStyle.append( ")" );

return symbolStyle;
Expand Down

0 comments on commit 3a63b7b

Please sign in to comment.