Commit f824c838 authored by jean-pierre charras's avatar jean-pierre charras

Pcbnew: fix an issue when texts in footprints have a size = 60 mils (default...

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.
parent 00bdc800
...@@ -61,8 +61,9 @@ TEXTE_MODULE::TEXTE_MODULE( MODULE* parent, int text_type ) : ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment