pcbnew: bounding box of text in footprint not properly rotated
Description
Bounding/collision boxes of text fields embedded in a footprint will not rotate with the rest of the footprint when placed on PCB. This will affect copper zones surrounding and also traces can't be routed since the DRC will erroneusly detect a colliding element.
Steps to reproduce
- Create footprint with text on copper
- Place footprint on PCB and rotate it
- Create copper zone surrounding footprint
Screenshot
Files
KiCad Version
Application: KiCad
Version: (5.99.0-8646-g6f651d5338-dirty), release build
Libraries:
wxWidgets 3.0.5
libcurl/7.74.0 OpenSSL/1.1.1i (Schannel) zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Platform: Windows 10 (build 19041), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Jan 27 2021 10:24:16
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.75.0
OCE: 6.9.1
Curl: 7.74.0
ngspice: 33
Compiler: GCC 10.2.0 with C++ ABI 1014
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON