Allow users to specify no minimum text width in DRC
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16596
This commit is contained in:
parent
322ad1af45
commit
121271bd0a
|
@ -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 ) );
|
||||
|
|
Loading…
Reference in New Issue