Pin helpers for labels are oriented wrong if the symbol is rotated.
Description
When using pin helpers to create labels on pins, the orientation of the labels is wrong if the symbol itself is rotated. I suspect that rotation of the symbol is not taken into account when creating the labels. I.e, when labels are created on the original "top" or "bottom" side of the symbol, the labels are drawn vertically.
Steps to reproduce
- Place an AD775 on the schematic (just because it has pins on all 4 sides.
- Rotate it once (CCW).
- Use the Pin helpers to add labels.
- Drag the labels away, to clean up the issue a bit more.
KiCad Version
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 8.0.2-8.0.2-0~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.10.1
HarfBuzz 2.6.4
FontConfig 2.13.1
Platform: Linux Mint 20.3, 64 bit, Little endian, wxGTK, X11, xfce, x11
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.6.3
Curl: 7.68.0
ngspice: 42
Compiler: GCC 9.4.0 with C++ ABI 1013
Build settings: