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:
parent
61704cb508
commit
9de7547c25
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue