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 5198f634b4c276fa3231d7998ac1cffa0b4e62c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsfontmarker.cpp
@@ -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.
You can’t perform that action at this time.