Use effective width for DRC.
Fixes https://gitlab.com/kicad/code/kicad/issues/11740
This commit is contained in:
parent
d0023add81
commit
d2a9cbe6e8
|
@ -217,7 +217,7 @@ bool DRC_TEST_PROVIDER_TEXT_DIMS::Run()
|
|||
}
|
||||
else
|
||||
{
|
||||
int actualThickness = text->GetTextThickness();
|
||||
int actualThickness = text->GetEffectiveTextPenWidth();
|
||||
|
||||
if( constraint.Value().HasMin() && actualThickness < constraint.Value().Min() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue