From 083193c3d44f73ab50c74d1a5aa41e7a46395f59 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 11 Jan 2022 18:16:10 +0100 Subject: [PATCH] Eeschema, print: fix missing initialization that created 0 size texts. --- common/gr_text.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/gr_text.cpp b/common/gr_text.cpp index 959669516a..e6dd9dc20b 100644 --- a/common/gr_text.cpp +++ b/common/gr_text.cpp @@ -167,6 +167,7 @@ void GRPrintText( wxDC* aDC, const VECTOR2I& aPos, const COLOR4D& aColor, const attributes.m_Bold = aBold; attributes.m_Halign = aH_justify; attributes.m_Valign = aV_justify; + attributes.m_Size = aSize; aFont->Draw( &callback_gal, aText, aPos, attributes ); }