Add DRC warning for incorrectly mirrored text
Description
With kicad it's easy to shift items between layers - item properties dialog --> layer-pulldown-combobox.
This flexibility on the other hand opens the door for non-mirrored text on the backside / mirrored text on the frontside of the pcb.
An additional DRC-test for mirrored text on top / non-mirrored text on bottom could catch such cases. This DRC-check would fit into the DRC-section Readability (or Miscellaneous).
The test should check all text/textbox items on top/bottom layer-pairs (copper/silkscreen/Mask/Fab).
It could be discussed if also references+values should be checked, not only text/textbox items. Also text inside of footprints: checking/ don't checking?
Steps to reproduce
- open attached project, open board: DRC_mirrored_text.zip
- notice: there are falsely mirrored text on F.Silkscreen+F.Cu
- notice: there are falsely non-mirrored text on B.Silkscreen+B.Cu
- run DRC: currently no error/warning shown at these cases
KiCad Version
Application: KiCad PCB Editor (64-bit)
Version: (6.99.0-3857-g6bc00eabaf), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 4.2.0
FontConfig 2.14.0
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_SPICE=ON