Setting PDF resolution to 2000 DPI has strange effect on braces, not spanning the entire range

• Aug 18, 2021 - 21:58
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project

When you export into pdfs a score with harp or piano, the key that lash the two systems ends up short, like on the fourth line of the treeble clef and the note heads and stems appear not perfectly in line. all of this appears in the pdf file, not in the editor.


Comments

Status active needs info

Sounds like you are having some sort of problem using MuseScore, but it isn't clear what just from the description. Something where a specific score when exported to PDF looks wrong? Please attach your score and give precise steps to allow us to reproduce the problem you are seeing. Also say what OS you are on and what version of MuseScore (Help / About).

Please share the score too
Also say what OS you are on and what version of MuseScore (Help / About).

Edit: the PDF got created by MuseScore 3.6.2, and not in a Mac, as far as I can tell. (so we still need to know your Operating System).

For some reason uses Bravura and Leland, the former probably because of a fallback for some glyphs not available in Leland.

And here's an image showing the mess:
foo.png

yes its a different score but the problems are there, its happening everytime I export something in pdf format. i find note heads out of alingment and the brackets dont cover the two staves.

Attachment Size
Sin título.png 159.19 KB

And you are using File > Export > PDF?
I don't understand why I don't see this if I use this on that sample score, nor see it in the 2nd PDF you provided

Title engraving Setting PDF resolution to 2000 DPI has strange effect
Workaround No Yes

Tada! That is it, much to my surprise!

Workaround: set it to 300 DPI, the default setting

Another workaround, at least for the brace (I don't see that other issue in any case), is to use Emmentaler or Gonville, only Leland, Bravura, MuseJazz and Petaluma seem to have that issue

Title Setting PDF resolution to 2000 DPI has strange effect Setting PDF resolution to 2000 DPI has strange effect on braces, not spanning the entire range

im beyond happy and grateful hahahaha thanks a lot for your attention and help, i was going mad trying to solve the issue!
once again, thank you !

Nehuen,

AFAIR it was the PNG default that changed, which I only noticed due to a comment from you some time ago stating so ;) when updating the manpage…

mscore/preferences.cpp:            {PREF_EXPORT_PDF_DPI,                                  new IntPreference(DPI, false)},
mscore/preferences.cpp:            {PREF_EXPORT_PNG_RESOLUTION,                           new DoublePreference(DPI, false)},
libmscore/mscore.h:static constexpr qreal DPI       = 72.0 * DPI_F;
libmscore/mscore.h:static constexpr qreal DPI_F     = 5;

So, 360 for both.