Skip to content

Conversation

miiizen
Copy link
Contributor

@miiizen miiizen commented Oct 16, 2025

Resolves: Inconsistent height on Windows & Linux
Resolves: Inconsistent thickness on all systems
Before:
image

After:
Screenshot 2025-10-16 at 09 47 19

This adjustment was absolutely negligible on MacOS (about 0.1556 in our internal units which is ~0.006 of a "regular" spatium). It was also much larger and very incorrect on Windows and Linux.
@its-not-nice its-not-nice added the engraving Shape, position, or ability to notate musical symbols & text in the score label Oct 16, 2025
@its-not-nice its-not-nice moved this to In Progress in MuseScore Studio 4.6.3 Oct 16, 2025
@its-not-nice its-not-nice requested a review from mike-spa October 16, 2025 10:09
@its-not-nice its-not-nice added the vtests This PR produces approved changes to vtest results label Oct 16, 2025
@miiizen miiizen self-assigned this Oct 20, 2025
@miiizen miiizen mentioned this pull request Oct 20, 2025
Copy link
Member

@cbjeukendrup cbjeukendrup left a comment

Choose a reason for hiding this comment

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

That's a lot of calculations... but it seems fine to me!

double TextSegment::bboxBaseLine() const
{
FontMetrics fm(m_font);
return boundingRect().bottom() - fm.descent();
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I must say this didn't look quite right, cause the font descent is fixed but the bottom of the bounding rect depends on the actual characters 👍

@mike-spa mike-spa merged commit 5110682 into musescore:master Oct 20, 2025
11 of 12 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Needs porting in MuseScore Studio 4.6.3 Oct 20, 2025
@its-not-nice its-not-nice moved this from Needs porting to Done in MuseScore Studio 4.6.3 Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engraving Shape, position, or ability to notate musical symbols & text in the score vtests This PR produces approved changes to vtest results

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants