EasyEDA Std: hide invisible text in symbols.

(cherry picked from commit 69b15e83c5)
This commit is contained in:
Alex Shvartzkop 2024-03-04 15:07:14 +03:00
parent c1a21c9ab1
commit e4fc918b11
1 changed files with 2 additions and 0 deletions

View File

@ -837,6 +837,7 @@ void SCH_EASYEDA_PARSER::ParseSymbolShapes( LIB_SYMBOL* aSymbol
wxString fontSize = arr[7];
wxString baselineAlign = arr[10];
wxString textStr = arr[12];
bool visible = arr[13] != wxS( "0" );
textStr.Replace( wxS( "\\n" ), wxS( "\n" ) );
textStr = UnescapeHTML( textStr );
@ -874,6 +875,7 @@ void SCH_EASYEDA_PARSER::ParseSymbolShapes( LIB_SYMBOL* aSymbol
textItem->SetHorizJustify( GR_TEXT_H_ALIGN_LEFT );
textItem->SetFont( KIFONT::FONT::GetFont( fontname ) );
textItem->SetVisible( visible );
double ptSize = 7;