Skip to content
Permalink
Browse files
Followup 701d970, fix sizes for font marker test
  • Loading branch information
nyalldawson committed Dec 3, 2015
1 parent 701d970 commit 5198f63
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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" );

0 comments on commit 5198f63

Please sign in to comment.