Enlarge OpenGL glyphs to match Cairo and legacy text size
This commit is contained in:
parent
e7ddcca569
commit
4ec24badb9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue