Fixed stroke text initialization in PCB_PAINTER.

This commit is contained in:
Maciej Suminski 2016-05-04 12:18:25 +02:00
parent cca36d355a
commit f502c4cc77
1 changed files with 4 additions and 0 deletions

View File

@ -816,6 +816,8 @@ void PCB_PAINTER::draw( const TEXTE_PCB* aText, int aLayer )
}
m_gal->SetStrokeColor( color );
m_gal->SetIsFill( false );
m_gal->SetIsStroke( true );
m_gal->SetTextAttributes( aText );
m_gal->StrokeText( shownText, position, aText->GetOrientationRadians() );
}
@ -842,6 +844,8 @@ void PCB_PAINTER::draw( const TEXTE_MODULE* aText, int aLayer )
}
m_gal->SetStrokeColor( color );
m_gal->SetIsFill( false );
m_gal->SetIsStroke( true );
m_gal->SetTextAttributes( aText );
m_gal->StrokeText( shownText, position, aText->GetDrawRotationRadians() );