7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 14:20:10 +00:00

kicad-cli pcb export SVG: ensure the "C" locale is used.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20023
This commit is contained in:
jean-pierre charras 2025-02-21 17:44:02 +01:00
parent 22a2cca312
commit aafe6157e2

View File

@ -760,6 +760,7 @@ int PCBNEW_JOBS_HANDLER::JobExportSvg( JOB* aJob )
sheetPath = aSvgJob->GetVarOverrides().at( wxT( "SHEETPATH" ) );
}
LOCALE_IO dummy;
if( !plotter.Plot( outPath, aSvgJob->m_printMaskLayer,
aSvgJob->m_printMaskLayersToIncludeOnAllLayers, false,
aSvgJob->m_genMode == JOB_EXPORT_PCB_SVG::GEN_MODE::SINGLE,