From e6db185f2e6a93f47876983aa2f83b1921b863a4 Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Mon, 16 Mar 2015 16:42:45 +0100 Subject: [PATCH] Adjusted text overbar height in GAL. --- common/gal/stroke_font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/gal/stroke_font.cpp b/common/gal/stroke_font.cpp index 380f7e3dd8..7af5965965 100644 --- a/common/gal/stroke_font.cpp +++ b/common/gal/stroke_font.cpp @@ -32,7 +32,7 @@ using namespace KIGFX; -const double STROKE_FONT::OVERBAR_HEIGHT = 0.45; +const double STROKE_FONT::OVERBAR_HEIGHT = 0.85; const double STROKE_FONT::BOLD_FACTOR = 1.3; const double STROKE_FONT::HERSHEY_SCALE = 1.0 / 21.0; @@ -163,7 +163,7 @@ void STROKE_FONT::Draw( const UTF8& aText, const VECTOR2D& aPosition, double aRo // Single line height int lineHeight = getInterline( ); int lineCount = linesCount( aText ); - + // align the 1st line of text switch( m_verticalJustify ) {