Skip to content

Commit

Permalink
fix #280908 landscape pdf cropped on the right side
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioBL committed Jan 9, 2019
1 parent 6d522ee commit b4ca9af
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mscore/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2063,8 +2063,6 @@ bool MuseScore::savePdf(Score* cs_, QPrinter& printer)
printer.setOutputFormat(QPrinter::PdfFormat);
#endif

printer.setPageOrientation(size.width() > size.height() ? QPageLayout::Landscape : QPageLayout::Portrait);

printer.setCreator("MuseScore Version: " VERSION);
if (!printer.setPageMargins(QMarginsF()))
qDebug("unable to clear printer margins");
Expand Down

0 comments on commit b4ca9af

Please sign in to comment.