Fix some cli crashes
This commit is contained in:
@@ -163,7 +163,7 @@ int CLI::SCH_EXPORT_PLOT_COMMAND::doPerform( KIWAY& aKiway )
|
||||
plotJob->m_plotPages = pages;
|
||||
plotJob->m_plotDrawingSheet = !m_argParser.get<bool>( ARG_EXCLUDE_DRAWING_SHEET );
|
||||
plotJob->m_pageSizeSelect = JOB_PAGE_SIZE::PAGE_SIZE_AUTO;
|
||||
plotJob->m_defaultFont = m_argParser.get( ARG_FONT_NAME );
|
||||
plotJob->m_defaultFont = From_UTF8( m_argParser.get<std::string>( ARG_FONT_NAME ).c_str() );
|
||||
plotJob->m_show_hop_over = m_argParser.get<bool>( ARG_DRAW_HOP_OVER );
|
||||
|
||||
if( m_plotFormat == SCH_PLOT_FORMAT::PDF
|
||||
|
||||
Reference in New Issue
Block a user