Pcbnew, Knockout texts: fix issues seen with rotated texts.

Fixes #11085
https://gitlab.com/kicad/code/kicad/issues/11085
This commit is contained in:
jean-pierre charras
2022-03-09 11:22:05 +01:00
parent 2df80c6473
commit e7f379c31d
3 changed files with 13 additions and 8 deletions
-1
View File
@@ -828,7 +828,6 @@ void BRDITEMS_PLOTTER::PlotPcbText( const EDA_TEXT* aText, PCB_LAYER_ID aLayer,
int margin = attrs.m_StrokeWidth * 1.5;
aText->TransformBoundingBoxWithClearanceToPolygon( &finalPoly, margin );
finalPoly.Rotate( -aText->GetDrawRotation(), aText->GetTextPos() );
finalPoly.BooleanSubtract( knockouts, SHAPE_POLY_SET::PM_FAST );
finalPoly.Fracture( SHAPE_POLY_SET::PM_FAST );