From df37887b1f6471d36d6144b464f009988a6834d6 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 5 May 2020 16:52:12 +0100 Subject: [PATCH] Factor line width into global label shape. Fixes https://gitlab.com/kicad/code/kicad/issues/4323 --- eeschema/sch_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_text.cpp b/eeschema/sch_text.cpp index 8090bfa68c..799774e9ea 100644 --- a/eeschema/sch_text.cpp +++ b/eeschema/sch_text.cpp @@ -912,7 +912,7 @@ void SCH_GLOBALLABEL::CreateGraphicShape( RENDER_SETTINGS* aRenderSettings, int symb_len = LenSize( GetShownText(), linewidth ) + 2 * margin; int x = symb_len + linewidth + 3; - int y = halfSize; + int y = halfSize + linewidth + 3; aPoints.clear();