From f502c4cc77c5b5cc3cc8a95e6e5844131f5c635c Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 4 May 2016 12:18:25 +0200 Subject: [PATCH] Fixed stroke text initialization in PCB_PAINTER. --- pcbnew/pcb_painter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index b10b81e424..792df35f40 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -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() );