-
Notifications
You must be signed in to change notification settings - Fork 43
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
Fix 1138 #1166
Fix 1138 #1166
Conversation
…note is near the clef. Part of the implementation for #1138.
Added an argument to \GreSetInitialClef indicating whether the first note is near the clef
if (glyph->u.notes.glyph_type == G_PODATUS && note->next) { | ||
note = note->next; | ||
} | ||
if (!(note->u.note.pitch > clef_pitch - 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to change this to:
if (note->u.note.pitch < clef_pitch - 3
|| note->u.note.pitch > clef_pitch + 3) {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed. I wonder if something could also be checked for high keys and above line things...
Looks good to me... do you know if it changed any test? |
no test changed |
Fixes #1138.