Partial revert of 134a7ba85

The margin fix prevented some schematics from printing.  Reverting in
favor of transitioning to the Cairo print base in eeschema
This commit is contained in:
Seth Hillbrand 2020-03-11 15:23:10 -07:00
parent 61704cb508
commit 9de7547c25
1 changed files with 0 additions and 15 deletions

View File

@ -371,22 +371,7 @@ void SCH_PRINTOUT::PrintPage( SCH_SCREEN* aScreen )
bool printReference = m_parent->GetPrintSheetReference();
pageSizeIU = aScreen->GetPageSettings().GetSizeIU();
#ifdef __WXGTK__
if( pageSizeIU.x > pageSizeIU.y )
{
auto psd = m_parent->GetPageSetupData();
psd.SetMarginTopLeft( wxPoint( 0, 3 ) );
psd.SetMarginBottomRight( wxPoint( 0, 5 ) );
FitThisSizeToPageMargins( pageSizeIU, psd );
}
else
{
FitThisSizeToPaper( pageSizeIU );
}
#else
FitThisSizeToPaper( pageSizeIU );
#endif
fitRect = GetLogicalPaperRect();