Adjust stroke font baseline offset to better match 6.0.
Fixes https://gitlab.com/kicad/code/kicad/issues/13886
(cherry picked from commit 4bb508eacf
)
This commit is contained in:
parent
4ffe742b69
commit
b2241dca72
|
@ -52,7 +52,8 @@ static constexpr double UNDERLINE_POSITION_FACTOR = -0.16;
|
||||||
///< Scale factor for a glyph
|
///< Scale factor for a glyph
|
||||||
static constexpr double STROKE_FONT_SCALE = 1.0 / 21.0;
|
static constexpr double STROKE_FONT_SCALE = 1.0 / 21.0;
|
||||||
|
|
||||||
static constexpr int FONT_OFFSET = -10;
|
///< Offset (in stroke font units) to move the origin to the baseline.
|
||||||
|
static constexpr int FONT_OFFSET = -8;
|
||||||
|
|
||||||
|
|
||||||
bool g_defaultFontInitialized = false;
|
bool g_defaultFontInitialized = false;
|
||||||
|
|
Loading…
Reference in New Issue