Use schematic editor default font setting for plot job.
When the user does not define a font on the CLI or when plotting from a job set, use the current schematic editor default font setting rather than always defaulting to the "KiCad Font". Set the --default-font CLI setting to an empty string so the the schematic editor default font setting will be used. Setting the --default-font CLI option will override the schematic editor default font setting.
This commit is contained in:
@@ -80,7 +80,7 @@ CLI::SCH_EXPORT_PLOT_COMMAND::SCH_EXPORT_PLOT_COMMAND( const std::string& aName,
|
||||
|
||||
m_argParser.add_argument( ARG_FONT_NAME )
|
||||
.help( UTF8STDSTR( _( "Default font name" ) ) )
|
||||
.default_value( wxString( KICAD_FONT_NAME ).ToStdString() );
|
||||
.default_value( wxString( "" ).ToStdString() );
|
||||
|
||||
if( aPlotFormat == SCH_PLOT_FORMAT::PDF )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user