Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for MEI cpMark #3904

Merged
merged 3 commits into from
Jan 7, 2025
Merged

Add support for MEI cpMark #3904

merged 3 commits into from
Jan 7, 2025

Conversation

lpugin
Copy link
Contributor

@lpugin lpugin commented Dec 27, 2024

Visual rendering for colla parte encoded with cpMark. By default, placed above the staff.

Test suite unit added https://github.com/rism-digital/verovio.org/blob/gh-pages/_tests/cpmark/cpmark-001.mei

image

Closes #3870

@@ -115,6 +115,7 @@ FunctorCode AdjustFloatingPositionersFunctor::VisitStaffAlignment(StaffAlignment

// Handle within placement (ignore collisions for certain classes)
if (place == STAFFREL_within) {
if (m_classId == CPMARK) continue;
Copy link
Contributor

Choose a reason for hiding this comment

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

use else if?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree it looks unusual. But since we continue on success it would make no difference and it is a bit more compact like that.

@lpugin lpugin merged commit 0028448 into develop Jan 7, 2025
9 checks passed
@lpugin lpugin deleted the develop-cpmark branch January 7, 2025 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement rendering of cpMark value
2 participants