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.19k stars 2.64k forks source link

Second line of right-justified text is not aligned when much longer than first #22416

Open alschade opened 6 months ago

alschade commented 6 months ago

Issue type

Engraving bug (incorrect score rendering)

Bug description

When adding arranger/composer credits, my eye was drawn to the alignment of the two lines. It appears that for some combinations of first and second line, the second line gets an additional offset, making the end characters not line up. The inconsistency and odd alignment seem like aberrant behavior.

Steps to reproduce

  1. In a new score, enter a two-line composer-arranger entry:
  2. Short entries like:

    Beethoven
    arr. John Doe

    will align correctly,

  3. Some specific longer entries will show a misalignment. My example is:

    Music by Foo Innsler
    arr. Claster Custer. ed. fooman
  4. There will be a slight offset between the ending alignment of the two lines. See

    image

Screenshots/Screen recordings

Some screenshots showing the misalignment follow below:

ms-odd-justified-alignment

image

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433

Regression

I don't know

Operating system

Windows 11

Additional context

No response

oktophonie commented 6 months ago

Wondered if this was Edwin-specific at first, but apparently not: image image

oktophonie commented 3 months ago

(not actually fixed, alas)