Use effective width for DRC.

Fixes https://gitlab.com/kicad/code/kicad/issues/11740
This commit is contained in:
Jeff Young 2022-06-03 22:30:58 +01:00
parent d0023add81
commit d2a9cbe6e8
1 changed files with 1 additions and 1 deletions

View File

@ -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() )
{