Partial revert of 134a7ba85

The margin fix prevented some schematics from printing.  Reverting in
favor of transitioning to the Cairo print base in eeschema

(cherry picked from commit 9de7547c25)
This commit is contained in:
Seth Hillbrand 2020-03-11 15:23:10 -07:00
parent 54be07c17d
commit 5d9bda6f97
1 changed files with 0 additions and 15 deletions

View File

@ -398,22 +398,7 @@ void SCH_PRINTOUT::DrawPage( 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();