musescore/MuseScore — pull request #902 by MarcSabatella (2014-05-12 18:35:40+00:00)
Title: fix #25279: use SMuFL cutOut facility to control accidental overlap

The code is all in place, and I have implemented the new SMuFL cutOut tags for flat, sharp, natural, and double flat in Emmentaler (double sharp doesn't need one; the other accidentals seem less important to be able to overlap). No further changes should be needed when Bravura 0.92 or later is integrated - it should just work. So this PR could be merged as is, and then the Bravura update merged whenever it is released.

One note: the cutOut tags are in the "glyphsWithAnchors" structure in metadata.json, so I added a loop to read that in sym.cpp. I think we are also supposed to migrate the existing "stemUp" tags & support code to use this same data structure. I don't know if there are other changes besides the name change, though, so I didn't do this. When we do make that change, we should merge the two loops in sym.cpp. And perhaps address the fact that Bravura includes entries in this structure (flag32ndUpStraight et al) for which we don't have id's. I commented out the warning that would otherwise be generated in my loop.