From 07736e59bd90466b0e38a5c9f27a69b2bd2edc4b Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 5 Nov 2023 14:03:06 +0100 Subject: [PATCH] Eeschema, plot schematic: fix incorrect rotation of symbol text in textboxes. Happened with rotated symbols. From master branch Fixes #16027 https://gitlab.com/kicad/code/kicad/-/issues/16027 --- eeschema/lib_textbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;