Skip to content

Commit

Permalink
Followup 701d970, fix sizes for font marker test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 3, 2015
1 parent 701d970 commit 5198f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgsfontmarker.cpp
Expand Up @@ -149,7 +149,7 @@ void TestQgsFontMarkerSymbol::bounds()
//use a narrow character to test that width is correctly calculated
mFontMarkerLayer->setCharacter( 'l' );
mFontMarkerLayer->setSize( 12 );
mFontMarkerLayer->setDataDefinedProperty( "size", new QgsDataDefined( true, true, "min(\"importance\" * 20, 50)" ) );
mFontMarkerLayer->setDataDefinedProperty( "size", new QgsDataDefined( true, true, "min(\"importance\" * 4.47214, 7.07106)" ) );

mMapSettings.setFlag( QgsMapSettings::DrawSymbolBounds, true );
bool result = imageCheck( "fontmarker_bounds" );
Expand Down

0 comments on commit 5198f63

Please sign in to comment.