Tablature2 clef missing
1. 'New…'.
2. At the instruments step, add 'Acoustic Guitar'.
3. Click on its stave.
4. 'Add Linked Staff'.
5. Change the 'Stave type' of the linked staff to 'Tab. 6-str full'.
6. 'OK'.
Result: The tablature clef doesn't appear in the linked staff.
Note: In 'Staff Types…', 'Show Clef' in the 'Tab. 6-str full' entry is ticked.
Using MuseScore 2.0 Nightly Build (d6d0b1a) - Mac 10.7.5.
Attachment | Size |
---|---|
Tablature clef doesn't appear in linked staff.png | 83.82 KB |
Comments
I suspect this related to the fact that the "Tablature2" clef is missing from the palette as well (only blank staff lines appear). A bit of not-yet-completed SMuFL integration? Or maybe we need to reset our palettes?
Could this go wider than just linked staff?
It seems it doesn't appear if you create a score based on 'Electric Guitar' (not [Tablature]).
I encountered this issue when trying to reproduce another: #23374: Undo change of staff type does not restore former clef in score imported from 1.3
It's simpler than that - the clef is missing, period. Linked staff, non-linked staff, change staff type or no - there is simply no way to get a tab2 clef to appear as far as I can see. The clef is actually present according to the object debugger - clef #20, just as the (blank) palette icon suggests it should be. There's just no glyph to display.
The glyph to display would be sixStringTabClefSerif (as per cleff.cpp, sym.cpp and sym.h). In the Emmentalers glyphnames.json however it is called 6stringTabClefSerif. It doesn't seem to be part of Bravura (nor Gonville), probably the reason why it shows empty in the Palette, although it is mentioned in smufl-0.7.pdf, as a "recommended stylistic alternative". here too called 6stringTabClefSerif.
...libmscore/sym.h:
// EXTENSIONS
// SMuFL stylistic alternates which we need to access directly
noteheadDoubleWholeAlt, // double whole with double side bars
sixStringTabClefSerif, // TAB clef in script style
Looks like the clef is now present - at least, I can make it appear in a score. But it shows empty in the palette still. And I don't know that is sized correctly.
We currently have no way to access the stylistic alternates in Bravura. Future versions of SMuFL will give more info in metadata.json in order to access the alternates.
And this is not related in any form or shape to the mismatch between "6stringTabClef" in glyphnames.json and "sixStringTabClef" in sym.h, sym.cpp and clef.cpp?
And the lack of 6stringTabClef being mentioned in fontstools/genft.cpp? ("6stringTabClefSerif" is in there, and mismatches with "sixStringTabClefSerif" and "6StringTabClefSerif" in other places)
C++ variables can't start with a number, thus the 6/six. The mapping with glyphnames is done with this list, where 6stringTabClef https://github.com/musescore/MuseScore/blob/master/libmscore/sym.cpp#L2…. This is why it works with Emmentaler since mscore/metadata.json contains this key. Strictly speaking it shouldn't since the key is not defined by SMuFL.
genft.cpp is not used as far as I know.
Argh, how could I forget that C/C++ variables aren't allowed to start with a number...
There is also a mismatch with ...string... vs. ...String... though
https://github.com/musescore/MuseScore/blob/master/libmscore/sym.cpp#L5…
Yes, we could fix that. The second enumeration is due to disappear though. For what I heard we will be able get a more suitable "user name" to use in the UI from metadata.json in next version of SMuFL.
This issue is fixed - all fonts have "Tablature 2 clef".
Automatically closed -- issue fixed for 2 weeks with no activity.