Skip to content

XML fixes#29197

Merged
miiizen merged 10 commits intomusescore:masterfrom
miiizen:xml-fixes-46
Aug 18, 2025
Merged

XML fixes#29197
miiizen merged 10 commits intomusescore:masterfrom
miiizen:xml-fixes-46

Conversation

@miiizen
Copy link
Contributor

@miiizen miiizen commented Aug 12, 2025

Resolves: Sibelius & finale xml import issues:

  • Only apply word-font font-size to all elements when "Apply default typeface" is unchecked
  • Resize title box to avoid collisions between the title and composer/lyricist text
  • Don't apply offsets included in the XML to text in the title box as these are inaccurate.
  • Ignore "pedal" chords
  • Correct import of <staff-size> tags. This now applies to line distance, and the scaling attribute applies to the scale of the notation
  • Fix copyright text scaling - use new copyright text type instead of generic footer text

@ghost ghost added this to MuseScore Studio 4.6 Aug 12, 2025
@ghost ghost moved this to In Progress in MuseScore Studio 4.6 Aug 12, 2025
@ghost ghost requested a review from mike-spa August 12, 2025 15:04
Comment on lines +3168 to +3169
m_score->staff(staffIdx)->setProperty(Pid::MAG, scale);
m_score->staff(staffIdx)->setProperty(Pid::LINE_DISTANCE, val);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this then also be adjusted in the export?

Copy link
Contributor

@mike-spa mike-spa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, apart from the unit test failure

@miiizen miiizen merged commit f20facf into musescore:master Aug 18, 2025
13 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Needs porting in MuseScore Studio 4.6 Aug 18, 2025
}

bool needUseDefaultSize = tid == TextStyleType::HARMONY_ROMAN
bool needUseDefaultSize = configuration()->needUseDefaultFont() || tid == TextStyleType::HARMONY_ROMAN
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz Aug 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using `this?

        bool needUseDefaultSize = needUseDefaultFont || tid == TextStyleType::HARMONY_ROMAN

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
These values are incredibly unreliable

Backport from musescore#29197, commit 5
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
These values are incredibly unreliable

Backport from musescore#29197, commit 5 plus (the relevant) part of commit 8
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
These values are incredibly unreliable

Backport from musescore#29197, commit 5 plus (the relevant) part of commit 8
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
These values are incredibly unreliable

Backport from musescore#29197, commit 5 plus (the relevant) part of commit 8
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Backport of musescore#29197, commit 1, plus (the relevant) part of commit 8 and some other mtest fixes (order and names)
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
These values are incredibly unreliable

Backport from musescore#29197, commit 5 plus (the relevant) part of commit 8
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 20, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 20, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 20, 2025
These values are incredibly unreliable

Backport from musescore#29197, commit 5 plus (the relevant) part of commit 8
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 20, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 20, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 20, 2025
These values are incredibly unreliable

Backport from musescore#29197, commit 5 plus (the relevant) part of commit 8
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 20, 2025
Backport of musescore#29197, commit 1, plus (the relevant) part of commit 8 and some other mtest fixes (order and names)
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 20, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 20, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 20, 2025
These values are incredibly unreliable

Backport from musescore#29197, commit 5 plus (the relevant) part of commit 8
mike-spa pushed a commit to mike-spa/MuseScore that referenced this pull request Aug 20, 2025
@mike-spa mike-spa mentioned this pull request Aug 20, 2025
@RomanPudashkin RomanPudashkin moved this from Needs porting to Done in MuseScore Studio 4.6 Aug 21, 2025
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Feb 28, 2026
Backport of musescore#29197, commit 1, plus (the relevant) part of commit 8 and some other mtest fixes (order and names)
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants