From: M. D. <ztr...@ad...> - 2007-07-28 00:06:14
|
Properties: In NotationProperties, the following are defined globally (same across notation views): HEIGHT_ON_STAFF; NOTE_STYLE; BEAMED; BEAM_ABOVE; SLASHES; STEM_UP; USE_CAUTIONARY_ACCIDENTAL; OTTAVA_SHIFT; SLUR_ABOVE; For tablature, I kludged in a few extensionsions: TAB_HEIGHT_ON_STAFF; TAB_OTTAVA_SHIFT; For tablature, stems always go down and slurs always go above, and there aren't any accidentals, so these aren't any trouble. But my extensions don't really fix the problem. If you try to open a view with a guitar tablature and another with bass tablature, it breaks. This is essentially the same problem we would have if trying to allow for simultaneous display of a Segment and the same Segment transposed. Would it be possible to attach these properties to a Track or a NotationStaff? Fonts: I seem to be having trouble manipulating the fonts in NotePixmapFactory. I'm using the normal setup (through NoteFont) for stems, flags, and other musical symbols. But with the tablature noteheads (numbers displayed as text) I switched to an ordinary text font (same one that's used for fingering). I don't seem to be able to place it correctly, though. The stem should be a little more to the left, and it should be centered on a staff line. How do I achieve this? |