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

Fix 1138 #1166

Merged
merged 6 commits into from
Jun 28, 2016
Merged

Fix 1138 #1166

merged 6 commits into from
Jun 28, 2016

Conversation

eroux
Copy link
Contributor

@eroux eroux commented Jun 27, 2016

Fixes #1138.

henryso and others added 5 commits June 26, 2016 18:33
…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
Copy link
Contributor

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) {

Copy link
Contributor Author

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...

@eroux
Copy link
Contributor Author

eroux commented Jun 28, 2016

Looks good to me... do you know if it changed any test?

@eroux
Copy link
Contributor Author

eroux commented Jun 28, 2016

no test changed

@eroux eroux merged commit 313898e into release-4.2 Jun 28, 2016
@henryso henryso deleted the fix-1138 branch June 28, 2016 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants