fp_text_box does not apply Footprint rotation to border
Description
What is the current behavior and what is the expected behavior?
The current behavior is the text being rotated but not the boarder of the text.
Given this footprint:
Here is how the footprint is displayed in PCB New
This is how i would expect it to be displayed
Steps to reproduce
Here is the file I used to reproduce fp_text_box_bug.kicad_pcb
- Create a new pcb and add a footprint
- Modify the footprint to have a text box that is rotated by 45 degrees (double click the footprint -> edit footprint)
- Save the footprint
- In pcbnew rotate the footprint by 90 degrees
KiCad Version
Application: KiCad PCB Editor arm64 on arm64
Version: (7.0.0-0), release build
Libraries: wxWidgets 3.2.1 FreeType 2.12.1 HarfBuzz 5.3.1 FontConfig 2.14.0 libcurl/7.86.0 SecureTransport (LibreSSL/3.3.6) zlib/1.2.11 nghttp2/1.47.0
Platform: macOS Ventura Version 13.2.1 (Build 22D68), 64 bit, Little endian, wxMac
Build Info: Date: Feb 12 2023 10:56:31 wxWidgets: 3.2.1 (wchar_t,wx containers) Boost: 1.80.0 OCC: 7.6.3 Curl: 7.77.0 ngspice: 38 Compiler: Clang 13.0.0 with C++ ABI 1002
Build settings: KICAD_SPICE=ON