Supply a text size & thickness for GAL::StrokeText
Fixes https://gitlab.com/kicad/code/kicad/issues/10226
This commit is contained in:
parent
04c76f10e9
commit
05cfdd3907
|
@ -274,6 +274,8 @@ void GAL::StrokeText( const wxString& aText, const VECTOR2D& aPosition, double a
|
||||||
attributes.m_Halign = GetHorizontalJustify();
|
attributes.m_Halign = GetHorizontalJustify();
|
||||||
attributes.m_Valign = GetVerticalJustify();
|
attributes.m_Valign = GetVerticalJustify();
|
||||||
attributes.m_LineSpacing = aLineSpacing;
|
attributes.m_LineSpacing = aLineSpacing;
|
||||||
|
attributes.m_Size = GetGlyphSize();
|
||||||
|
attributes.m_StrokeWidth = GetLineWidth();
|
||||||
|
|
||||||
aFont->Draw( this, aText, aPosition, attributes );
|
aFont->Draw( this, aText, aPosition, attributes );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue