diff --git a/eeschema/tools/symbol_editor_control.cpp b/eeschema/tools/symbol_editor_control.cpp index 8f7a54236e..f2edbb6f1d 100644 --- a/eeschema/tools/symbol_editor_control.cpp +++ b/eeschema/tools/symbol_editor_control.cpp @@ -586,8 +586,8 @@ int SYMBOL_EDITOR_CONTROL::ExportSymbolAsSVG( const TOOL_EVENT& aEvent ) editFrame->GetConvert() ).GetSize(); // Add a small margin to the plot bounding box - pageTemp.SetWidthMils( int( symbolSize.x * 1.2 ) ); - pageTemp.SetHeightMils( int( symbolSize.y * 1.2 ) ); + pageTemp.SetWidthMils( schIUScale.IUToMils( symbolSize.x * 1.2 ) ); + pageTemp.SetHeightMils( schIUScale.IUToMils( symbolSize.y * 1.2 ) ); editFrame->GetScreen()->SetPageSettings( pageTemp ); editFrame->SVGPlotSymbol( fullFileName );