diff --git a/common/common_plotPS_functions.cpp b/common/common_plotPS_functions.cpp index c3e76b3240..037172f8b0 100644 --- a/common/common_plotPS_functions.cpp +++ b/common/common_plotPS_functions.cpp @@ -307,6 +307,8 @@ void PS_Plotter::start_plot( FILE *fout) // // (NOTE: m_Size.y is *supposed* to be listed before m_Size.x; // the order in which they are specified is not wrong!) + // Also note sheet->m_Size is given in mils, not in decimils and must be + // sheet->m_Size * 10 in decimils if( sheet->m_Name.Cmp( wxT( "User" ) ) == 0 ) fprintf( output_file, "%%%%DocumentMedia: Custom %d %d 0 () ()\n", wxRound( sheet->m_Size.y * CONV_SCALE ), @@ -315,8 +317,8 @@ void PS_Plotter::start_plot( FILE *fout) else // ( if sheet->m_Name does not equal "User" ) fprintf( output_file, "%%%%DocumentMedia: %s %d %d 0 () ()\n", CONV_TO_UTF8( sheet->m_Name ), - wxRound( sheet->m_Size.y * CONV_SCALE ), - wxRound( sheet->m_Size.x * CONV_SCALE ) ); + wxRound( sheet->m_Size.y * 10 * CONV_SCALE ), + wxRound( sheet->m_Size.x * 10 * CONV_SCALE ) ); fprintf( output_file, "%%%%Orientation: Landscape\n" ); diff --git a/eeschema/plot.cpp b/eeschema/plot.cpp index c8efa16113..cadd801b57 100644 --- a/eeschema/plot.cpp +++ b/eeschema/plot.cpp @@ -747,7 +747,7 @@ void PlotDrawlist( Plotter* plotter, SCH_ITEM* aDrawlist ) #undef STRUCT #define STRUCT ( (DrawJunctionStruct*) aDrawlist ) plotter->set_color( ReturnLayerColor( STRUCT->GetLayer() ) ); - plotter->circle( STRUCT->m_Pos, DRAWJUNCTION_SIZE, FILLED_SHAPE ); + plotter->circle( STRUCT->m_Pos, DRAWJUNCTION_SIZE*2, FILLED_SHAPE ); break; case TYPE_SCH_TEXT: