musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.06k stars 2.6k forks source link

Font size in PDF export differs from editor and other exports #23692

Closed nmu-nyasan closed 1 month ago

nmu-nyasan commented 1 month ago

Issue type

Import/export issue

Description with steps to reproduce

  1. Add text element to the score.
  2. Set to a text font other than Edwin.
  3. Export to PDF and compare it with editor and PNG export

Supporting files, videos and screenshots

PDF Export: PDF Export

PNG Export: PNG Export

Compare: Compare

What is the latest version of MuseScore Studio where this issue is present?

OS: Windows 11 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.4.0-242010305, revision: github-musescore-musescore-5c912b2

Regression

Yes, this works in the latest released version and is broken in the nightly builds

Operating system

Windows 11 23H2

Additional context

Possibly related to #23655, but it seems that only the text font was affected in my environment, so I logged this as a separate issue.

Checklist

igorkorsukov commented 1 month ago

I can't reproduce

image

@nmu-nyasan please re-check

@DmitryArefiev please confirm

nmu-nyasan commented 1 month ago

@igorkorsukov It still occurs in the latest nightly builds. However, it appears to depend on the font being used; it happens with some fonts and not with others. For common Western fonts, I confirmed that it occurs with the Arial font.

image

Additionally, it does not seem to happen when the display scaling is set to 100%.

DmitryArefiev commented 1 month ago

Tested on Win10. No longer occurs after #23834

@nmu-nyasan Please recheck on your side