diff --git a/eeschema/lib_textbox.cpp b/eeschema/lib_textbox.cpp index 4feae4efa5..8781620ecb 100644 --- a/eeschema/lib_textbox.cpp +++ b/eeschema/lib_textbox.cpp @@ -465,7 +465,7 @@ void LIB_TEXTBOX::Plot( PLOTTER* aPlotter, bool aBackground, const VECTOR2I& aOf text.GetLinePositions( positions, (int) strings_list.Count() ); - TEXT_ATTRIBUTES attrs = GetAttributes(); + TEXT_ATTRIBUTES attrs = text.GetAttributes(); attrs.m_StrokeWidth = penWidth; attrs.m_Multiline = false;