diff --git a/pcbnew/board_items_to_polygon_shape_transform.cpp b/pcbnew/board_items_to_polygon_shape_transform.cpp index 99260c34c6..139239ee19 100644 --- a/pcbnew/board_items_to_polygon_shape_transform.cpp +++ b/pcbnew/board_items_to_polygon_shape_transform.cpp @@ -313,6 +313,11 @@ void FP_TEXT::TransformShapeWithClearanceToPolygon( SHAPE_POLY_SET& aCornerBuffe bool aIgnoreLineWidth ) const { EDA_TEXT::TransformBoundingBoxWithClearanceToPolygon( &aCornerBuffer, aClearance ); + + const FOOTPRINT* parentFootprint = static_cast( m_parent ); + + if( parentFootprint ) + aCornerBuffer.Rotate( DECIDEG2RAD( GetDrawRotation() ), GetTextPos() ); }