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:
parent
54be07c17d
commit
5d9bda6f97
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue