Pcbnew: fix an issue when texts in footprints have a size = 60 mils (default size for texts). After saving and reading the .kicad_pcb file, the size was not correct.

This commit is contained in:
jean-pierre charras 2013-03-26 18:05:47 +01:00
parent 00bdc80087
commit f824c83842
1 changed files with 3 additions and 2 deletions

View File

@ -61,8 +61,9 @@ TEXTE_MODULE::TEXTE_MODULE( MODULE* parent, int text_type ) :
m_Type = TEXT_is_DIVERS; m_Type = TEXT_is_DIVERS;
m_NoShow = false; m_NoShow = false;
m_Size.x = m_Size.y = 400;
m_Thickness = 120; /* Set default dimension to a reasonable value. */ // Set text tickness to a default value
m_Thickness = Millimeter2iu( 0.15 );
SetLayer( SILKSCREEN_N_FRONT ); SetLayer( SILKSCREEN_N_FRONT );