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

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
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -61,8 +61,9 @@ TEXTE_MODULE::TEXTE_MODULE( MODULE* parent, int text_type ) :
        m_Type = TEXT_is_DIVERS;

    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 );