diff --git a/pcbnew/drc/drc_test_provider_text_dims.cpp b/pcbnew/drc/drc_test_provider_text_dims.cpp index 0fba8b39bc..ddea361a07 100644 --- a/pcbnew/drc/drc_test_provider_text_dims.cpp +++ b/pcbnew/drc/drc_test_provider_text_dims.cpp @@ -150,7 +150,7 @@ bool DRC_TEST_PROVIDER_TEXT_DIMS::Run() if( font->IsOutline() ) { - if( !constraint.Value().HasMin() ) + if( !constraint.Value().HasMin() || constraint.Value().Min() <= 0 ) return true; auto* glyphs = text->GetRenderCache( font, text->GetShownText( true ) );