Eeschema, plot: fix missing initialization that created 0 size texts.

0 sized texts are hard to read
This commit is contained in:
jean-pierre charras 2022-01-11 20:47:16 +01:00
parent 7ef8843545
commit 0aca35bcab
1 changed files with 1 additions and 0 deletions

View File

@ -705,6 +705,7 @@ void PLOTTER::Text( const VECTOR2I& aPos,
attributes.m_Bold = aBold;
attributes.m_Halign = aH_justify;
attributes.m_Valign = aV_justify;
attributes.m_Size = aSize;
if( !aFont )
aFont = KIFONT::FONT::GetFont();