Landscape PDF cropped on the right side
Reported version
3.0
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project
PDF export of an A4 landscape score results in a cropped portrait PDF.
Workaround: Printing the score as PDF via Print → Print to file (PDF).
See also landscape PDF export
Fix version
3.0.1
Comments
I can confirm the bug, and for me, the workaround doesn't work either, it results in the same cropped page as regular export. Arch Linux, MS 3.0.0.
Came up again in https://musescore.org/es/node/281392.
Proposed PR:
https://github.com/musescore/MuseScore/pull/4554
The page dimensions are already set as a rotated page by
printer.setPaperSize(size, QPrinter::Inch);
printer.setFullPage(true);
so I think the
printer.setPageOrientation(size.width() > size.height() ? QPageLayout::Landscape : QPageLayout::Portrait)
instruction was rotating again the page when the width was larger than the height, i.e. at the end there was no page rotation at all.Fixed in branch master, commit b4ca9af433
fix #280908 landscape pdf cropped on the right side
Fixed in branch master, commit 7d16555160
Merge pull request #4554 from AntonioBL/pdflandscape
fix #280908 landscape pdf cropped on the right side
In reply to Git webhook message by Git Message
Works again, thank you very much!
Automatically closed -- issue fixed for 2 weeks with no activity.
In reply to Auto close by System Message
Hi,
I've got MuseScore Version 3.0.1 and this bug is not fixed. I provide a mscz file in landscape and exporting to PDF creates a portrait PDF file. Should I open a new issue or can this be reopened?
Regards
Works for me, MuseScore 3.0.2, Windows 7
In reply to Works for me, MuseScore 3.0… by Jojo-Schmitz
Under ArchLinux we are still at 3.0.1. Maybe under 3.0.2 this problem is solved. I have checked the package in Archlinux and it's already flagged out-of-date, so It's just a matter of time the owner of the package compiles it again and offers it into the repos. I'll try once I'm under 3.0.2.
Regards
The fix is in 3.0.1
ok, it works under 3.0.2, but didn't under 3.0.1 (at least undr ArchLinux).
Thanks.
Regards