Adjust stroke font baseline offset to better match 6.0.
Fixes https://gitlab.com/kicad/code/kicad/issues/13886
This commit is contained in:
parent
4fb104b238
commit
4bb508eacf
|
@ -52,7 +52,8 @@ static constexpr double UNDERLINE_POSITION_FACTOR = -0.16;
|
|||
///< Scale factor for a glyph
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue