EasyEDA Std: hide invisible text in symbols.
This commit is contained in:
parent
563278d0f6
commit
69b15e83c5
|
@ -837,6 +837,7 @@ void SCH_EASYEDA_PARSER::ParseSymbolShapes( LIB_SYMBOL* aSymbol
|
||||||
wxString fontSize = arr[7];
|
wxString fontSize = arr[7];
|
||||||
wxString baselineAlign = arr[10];
|
wxString baselineAlign = arr[10];
|
||||||
wxString textStr = arr[12];
|
wxString textStr = arr[12];
|
||||||
|
bool visible = arr[13] != wxS( "0" );
|
||||||
|
|
||||||
textStr.Replace( wxS( "\\n" ), wxS( "\n" ) );
|
textStr.Replace( wxS( "\\n" ), wxS( "\n" ) );
|
||||||
textStr = UnescapeHTML( textStr );
|
textStr = UnescapeHTML( textStr );
|
||||||
|
@ -874,6 +875,7 @@ void SCH_EASYEDA_PARSER::ParseSymbolShapes( LIB_SYMBOL* aSymbol
|
||||||
textItem->SetHorizJustify( GR_TEXT_H_ALIGN_LEFT );
|
textItem->SetHorizJustify( GR_TEXT_H_ALIGN_LEFT );
|
||||||
|
|
||||||
textItem->SetFont( KIFONT::FONT::GetFont( fontname ) );
|
textItem->SetFont( KIFONT::FONT::GetFont( fontname ) );
|
||||||
|
textItem->SetVisible( visible );
|
||||||
|
|
||||||
double ptSize = 7;
|
double ptSize = 7;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue