[JW Lua] More bugs related to FCStaffSystem:CalcHeight -> FCSystemStaves

Jan Angermüller jan at angermueller.com
Thu Aug 3 12:01:32 CEST 2017


Jari,

the problem could be FCSystemStaves (probably you use it for calculating 
the staff system height based on its distances).
I noticed that FCSystemStaves doesn't include staves if they are set to 
"cut away" or "in Score only (Collapse)". But it does include them when 
they are set to "collapse" - so although the staff is then invisible in 
the staff system it counts as a system staff.

That means: if the "last staff" in a staff system is set to "collapse" 
it is still included in FCSystemStaves and thus also taken into account 
for CalcHeight. This returns a staff system height which doesn't match 
the actual staff system height.

Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20170803/3767d281/attachment.html>


More information about the JWLua mailing list