Enlarge OpenGL glyphs to match Cairo and legacy text size

This commit is contained in:
Maciej Suminski 2018-01-08 10:46:27 +01:00
parent e7ddcca569
commit 4ec24badb9
1 changed files with 1 additions and 1 deletions

View File

@ -889,7 +889,7 @@ void OPENGL_GAL::BitmapText( const wxString& aText, const VECTOR2D& aPosition,
float commonOffset;
std::tie( textSize, commonOffset ) = computeBitmapTextSize( text );
const double SCALE = GetGlyphSize().y / textSize.y;
const double SCALE = 1.4 * GetGlyphSize().y / textSize.y;
bool overbar = false;
int overbarLength = 0;