[JW Lua] Slur metrics returns wrong values - problem identified
Chris
marcel.denio at gmail.com
Wed Nov 16 10:22:08 CET 2016
Jan
I think that CalcRightEntryMetricsPos is always correct
But Finale does not always display the values of"Smart shape placement" .
If "Tips Avoid Staff Lines" is checked, Final recalculates the value
and CalcRightEntryMetricsPos return this new value.
Chris
Le 16/11/2016 à 10:10, Jan Angermüller a écrit :
> Hi Chris and Jari,
>
> >The values of"Smart shape placement" are not always those displayed.
> >They depend on the parameter "Smart Slur Options -> Tips avoid Staff Lines
> By".
> That's the solution!
> Although the interesting thing in this case is that the values of
> "Smart Shape Placement" are indeed correct here (it's a 12 EVPU distance).
> It's only the calculated distance
> (FCSmartShape:CalcRightEntryMetricsPos) that returns the wrong value.
> But if I add the "Avoid Staff Lines" value to the wrong value, it
> becomes correct.
> Or: if I set the "Avoid Staff Lines" value to 0 (which doesn't change
> the slur visually), the calculated vertical metrics from
> CalcRightEntryMetricsPos are also correct.
>
> So there must be a problem somewhere back in JW Lua or in the Plugin
> SDK that*accidentally adds the Avoid Stafff Lines values in this case.*
>
> My workaround now: uncheck "Tips Avoid Staff Lines" or set the value to 0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20161116/f773d01a/attachment.htm>
More information about the JWLua
mailing list