Supply a text size & thickness for GAL::StrokeText

Fixes https://gitlab.com/kicad/code/kicad/issues/10226
This commit is contained in:
Jeff Young 2022-01-07 21:44:34 +00:00
parent 04c76f10e9
commit 05cfdd3907
1 changed files with 2 additions and 0 deletions

View File

@ -274,6 +274,8 @@ void GAL::StrokeText( const wxString& aText, const VECTOR2D& aPosition, double a
attributes.m_Halign = GetHorizontalJustify();
attributes.m_Valign = GetVerticalJustify();
attributes.m_LineSpacing = aLineSpacing;
attributes.m_Size = GetGlyphSize();
attributes.m_StrokeWidth = GetLineWidth();
aFont->Draw( this, aText, aPosition, attributes );
}