mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add 6 point font and enable it.
This commit is contained in:
@@ -30,7 +30,9 @@
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::FixedAtlasFont::FontSize mapToAtlasFontSize( int pointSize )
|
||||
{
|
||||
if ( pointSize < 10 )
|
||||
if ( pointSize >= 6 && pointSize < 8 )
|
||||
return caf::FixedAtlasFont::POINT_SIZE_6;
|
||||
else if ( pointSize >= 8 && pointSize < 10 )
|
||||
return caf::FixedAtlasFont::POINT_SIZE_8;
|
||||
else if ( pointSize >= 10 && pointSize < 12 )
|
||||
return caf::FixedAtlasFont::POINT_SIZE_10;
|
||||
|
||||
Reference in New Issue
Block a user