In article <[email protected]>,
Maurizio M. Gavioli <[email protected]> wrote:
> Tony Mountifield wrote
> > Marc Sabatella wrote:
> >> > c) If chords are dragged vertically to be clear of each other, they 
> >> > are allowed to overlap horizontally.
> >> 
> >> This seems a bit glitchy.  I have to move a chord way above the others 
> >> in order to get the space to close up.  Although maybe that's a question 
> >> of font metrics - just because the chord appears to clear the others 
> >> doesn't mean their bounding boxes do.  Not a big deal, though.
> > 
> > Yes, I noticed that too. Perhaps yet another style parameter to set the
> > amount of vertical overlap to accept without horizontal spacing kicking
> > in.  It might even be useful to make the default non-zero, e.g. 0.2sp.
> 
> FWIW, I think too it has to do with bounding boxes.

Yes, it's definitely bounding boxes, as that is how I calculate whether two
adjacent chord symbols are clear of each other vertically.

> Tony, you probably are aware of it, but you may try playing with
> QFontMetricsF::tightBoundingRect(QString) to get the 'inked' bounding box of
> a string, i.e. the bounding box of the visible marks, rather than the design
> bounding box of the glyphs, which includes bearings, leading(s) and so on.

I wasn't aware of it, so thanks for the hint! I'll do some experiments...

Cheers
Tony
-- 
Tony Mountifield
Work: [email protected] - http://www.softins.co.uk
Play: [email protected] - http://tony.mountifield.org

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to