When Feta font (not pixmaps) is used, "cut common time signature" (2/2) is
displayed as "common time signature" (4/4) in notation editor.
Here is a fix.
Regards
Yves
Index: gui/notepixmapfactory.cpp
===================================================================
RCS file: /cvsroot/rosegarden/gui/notepixmapfactory.cpp,v
retrieving revision 1.273
diff -u -r1.273 notepixmapfactory.cpp
--- gui/notepixmapfactory.cpp 24 Dec 2004 18:51:15 -0000 1.273
+++ gui/notepixmapfactory.cpp 23 Jan 2005 21:25:53 -0000
@@ -2684,8 +2684,15 @@
if (sig.isCommon()) {
NoteCharacter character;
- if (getCharacter(NoteCharacterNames::COMMON_TIME, character,
- PlainColour, false)) {
+
+ CharName charName;
+ if (sig.getNumerator() == 2) {
+ charName = NoteCharacterNames::CUT_TIME;
+ } else {
+ charName = NoteCharacterNames::COMMON_TIME;
+ }
+
+ if (getCharacter(charName, character, PlainColour, false)) {
createPixmapAndMask(character.getWidth(), character.getHeight());
m_p->drawNoteCharacter(0, 0, character);
return makeCanvasPixmap(QPoint(0, character.getHeight()/2));