<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
>I think that CalcRightEntryMetricsPos is always correct<br>
><span id="result_box" class="short_text" lang="en"><span
class="">But Finale does not always display the values </span></span><span
id="result_box" class="short_text" lang="en"><span class=""><span
id="result_box" class="" lang="en"><span class=""> of</span></span></span></span><span
id="result_box" class="short_text" lang="en"><span class=""><span
id="result_box" class="" lang="en"><span class=""><span
id="result_box" class="short_text" lang="en"><span
class=""> "Smart shape placement"</span></span> .<br>
That's another possible perspective. And yes indeed, the
behaviour of "Tips Avoid Staff Lines" seems unclear to me
too and doesn't do what it promises to do. So probably it's
even recommended to uncheck this feature in the options
then.</span></span></span></span><br>
<br>
Jan<br>
<br>
<blockquote
cite="mid:2e4c5048-0219-b6fa-0ed3-56b6c28413f5@gmail.com"
type="cite">Le 16/11/2016 à 10:10, Jan Angermüller a écrit :<br>
<blockquote
cite="mid:78458da6-6e59-6513-6e4f-ec0819d3c947@angermueller.com"
type="cite">Hi Chris and Jari,<br>
<br>
<span id="result_box" class="short_text" lang="en"><span
class=""><span id="result_box" class="" lang="en"><span
class="">>The values of</span></span></span></span><span
id="result_box" class="short_text" lang="en"><span class=""><span
id="result_box" class="" lang="en"><span class=""><span
id="result_box" class="short_text" lang="en"><span
class=""> "Smart shape placement"</span></span> are
not always those displayed</span></span>.</span></span><br>
<span id="result_box" class="short_text" lang="en"><span
class="">>They depend on the parameter "Smart Slur
Options -> Tips avoid Staff Lines By".</span></span><br>
That's the solution!<br>
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).<br>
It's only the calculated distance
(FCSmartShape:CalcRightEntryMetricsPos) that returns the wrong
value.<br>
But if I add the "Avoid Staff Lines" value to the wrong value,
it becomes correct. <br>
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.<br>
<br>
So there must be a problem somewhere back in JW Lua or in the
Plugin SDK that<b> accidentally adds the Avoid Stafff Lines
values in this case.</b><br>
<br>
My workaround now: uncheck "Tips Avoid Staff Lines" or set the
value to 0.</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
JWLua mailing list
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
</pre>
</blockquote>
<br>
</body>
</html>