Commit db7c8cfd authored by Dick Hollenbeck's avatar Dick Hollenbeck
Browse files

remove clamping from PAGE_INFO setters

parent ed5585eb
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -204,20 +204,25 @@ void PAGE_INFO::SetPortrait( bool isPortrait )

static int clampWidth( int aWidthInMils )
{
/*  was giving EESCHEMA single component SVG plotter grief
    if( aWidthInMils < 4000 )       // 4" is about a baseball card
        aWidthInMils = 4000;

    else if( aWidthInMils > 44000 ) //44" is plotter size
        aWidthInMils = 44000;
*/
    return aWidthInMils;
}


static int clampHeight( int aHeightInMils )
{
/*  was giving EESCHEMA single component SVG plotter grief
    if( aHeightInMils < 4000 )
        aHeightInMils = 4000;
    else if( aHeightInMils > 44000 )
        aHeightInMils = 44000;
*/
    return aHeightInMils;
}