PDF Export takes wrong pagesize (letter instead a4)
Reported version
3.0
Type
Performance
Frequency
Many
Severity
S3 - Major
Reproducibility
Always
Status
needs info
Regression
No
Workaround
No
Project
Using Manjaro and the Musescore 3.0
Create a new score with pagestyle a4. then select export excerpts. The PDF you get is in letter format and you are missing the title.
trying to set back the musescore version to 2.0 didn't fix the problem. Also checking /etc/papersize say a4. So i use german language and keyboard layout. and nothing fixes the issue. It seems that musescore takes the wrong fileformat for output. But because of getting the issue also with the backrolled old version I guess this might be not a pure musescore problem. There might be a problem with a lib for getting the locale of the system.
Comments
MuseScore generally takes the default page size from your default printer's default paper size - is that set correctly on your system?
In reply to MuseScore generally takes… by Marc Sabatella
I checked twice /etc/papersize is saying a4 is the default papersize. Also checked Cups that it uses my Cannon printer as default and here the default papersize is a4 too. Are there any other places where I have to lookup?
So I just want to add. The last Score I printed with the "old" version was in the middle of December. There everything worked fine. No Problem. Then over christmas I update like everytime when I have some time left my linux manjaro, just to be up to date. And now there is the problem. Even step back to a musescore 2.0.1 package or something like this didn't change the behaviour. So I think there might be gone something wrong with let's say a library Not within the musescore package itself. So I urgently needed today to get a PDF out of my Score. So I took linux Cups-PDF. But this didn't work either. I got just a blanc page. So then I tried the workaround to go another system. I took a windows system and tried to open the file... didn't work, because of new version. So I download and installed newest Musescore for windows. Exported PDF and yeah got a very well looking PDF. BUT! I send it to a friend who is using Adobe acrobat and not like my foxit and he just got a blanc white page and said: Cant open, just see a white page, Can you please take paper the other way round in the scanner? ;-) With old Musescore I never had this problem before. So I would assume there must be something wrong with PDF export independent from plattform with came with the update to version3 but not in the man package, more in a lib.
So I think this is maybe about the same issue:
https://musescore.org/en/node/281275
And I googled about qt bug 5.12 printer pdf and found:
https://bugreports.qt.io/browse/QTBUG-72868
I looked at my wrong pdfs and found that there were commas in it and not points!
So like suggested I added to my etc/locale.conf LC_NUMERIC=C And then I got an A4 PDF after Export. So this Issue seems to be because og QT5 and not because of musescore.
So this might be a workaround
Thanks for digging that up
So it will be fixed in Qt 5.12.1, planned for next week.
Came up again in #282499: The title of the song is not displayed when I export it to PDF and apparently is not fixed in Qt 5.12.0 (edit: it is supposed to be fixed in 5.12.1)
Came up again in #283891: Print and PDF Export only generates "Letter / ANSI A" Format. Qt 5.12.1 is out meanwhile, that should fix the issue.
In reply to Came up again in #283891:… by Jojo-Schmitz
I just made a post on the forum topic "Setting default printing papersize" which is the same issue as this. My problem, as is stated there, is that MuseScore is picking A4 instead of letter, which sounds like the converse of what is stated here. In briefly reading this post, and my experience, I don't believe that it is a Qt problem, and I just checked my version of Qt, and it is now 5.12.3 and I can report this problem persists.
MuseScore (via Qt) takes the default paper format from the default printer, if any is set up.
Actually there are two different potential issues here:
1) the default page size selected by MuseScore when creating a new score
and
2) the page size exported to PDF
There have been issues with both of these in the past, but they had nothing to do with each other. That is, the cases where the default page size of the score was wrong, the export was at least consistent with the score, and in the cases where the export was wrong, the page size of the score was set correctly. As far as I know all know cases of either problem are fixed. So if you are seeing a problem, we'd need to understand which of these two is the problem, and then get precise steps to reproduce the problem you are seeing.
The OP was apparently talking about case 2), which was a problem fixed after the release of MuseScore 3 (maybe for 3.1 or so?). So I am hoping the OP can confirm it is working for him in the current version 3.2.3.
I found that if you save your composition with a custom page size it will transfer over to pdf smoothly.