Skip to content

Commit 5198f63

Browse files
committed
Followup 701d970, fix sizes for font marker test
1 parent 701d970 commit 5198f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/core/testqgsfontmarker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ void TestQgsFontMarkerSymbol::bounds()
149149
//use a narrow character to test that width is correctly calculated
150150
mFontMarkerLayer->setCharacter( 'l' );
151151
mFontMarkerLayer->setSize( 12 );
152-
mFontMarkerLayer->setDataDefinedProperty( "size", new QgsDataDefined( true, true, "min(\"importance\" * 20, 50)" ) );
152+
mFontMarkerLayer->setDataDefinedProperty( "size", new QgsDataDefined( true, true, "min(\"importance\" * 4.47214, 7.07106)" ) );
153153

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

0 commit comments

Comments
 (0)