I resolved the mask problem -- although I thought I'd given the
pixmaps transparent backgrounds, I'd since regenerated them using
a different colour configuration and lost the transparency. So
that's why Qt hadn't generated the mask. Still, I've made it use
the heuristic mask if there is no auto-generated one (with a
If you get the latest stuff and rebuild and reinstall, you should
get some reasonably nice notation. We _really_ need antialiased
lines for the beams though... There are still a few defects hanging
around in things like accidental spacing, but overall it's not bad.
Now, I have another thing that needs doing, but I've run out of
energy, so if someone else would like to have a crack at it? It's
like this: For now I've got five different popup Edit options for
the different sizes of score, but I want to lose those, replace them
with a single "Edit as Score", and add toolbar buttons to the
notation view to change the score size while you view it.
For the moment I've just hacked the clef buttons so they change the
score size as well. It works fine the first time you change a size,
but on subsequent presses the change isn't visible until the window
gets refreshed (e.g. by minimising and restoring it). Am I just
missing a call to some redraw function in Qt?
If someone would like to sort that out, and perhaps throw in a few
toolbar buttons for the five available sizes of score, that'd be
great... The sizes are a bit screwy at the moment because the
note font and note pixmap factory code now uses a different measure
from the staff and view -- the latter use the "old" sizes of 5, 7,
9, 11 and 13 while the former use the sizes I now prefer of 4, 6,
8, 10 and 12. Note the "--size" at the start of NotePixmapFactory's
constructor. I'd like to use the new sizes throughout, but that'll
mean a few changes in NotationStaff I think.
Right, now I _really_ need a beer.