<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Yes, you're right. It seems to be a problem only when a font name
isn't found.<br>
My factor of 200 was a mixture of some fonts found and some not.<br>
Thanks, Jari!<br>
<br>
Best,<br>
Jan<br>
<br>
<div class="moz-cite-prefix">Am 08.08.2017 um 21:10 schrieb Jari
Williamsson:<br>
</div>
<blockquote type="cite"
cite="mid:27ddc486-8836-543b-b25a-8215a362574a@mailbox.swipnet.se">Jan,
<br>
<br>
On Windows, it seems like the API is completely broken when the
font name isn't found. In my tests, it's about 1,000 times slower
in that particular case, on Windows! I'll let MM know.
<br>
<br>
On the Mac, the API solution is actually faster than my
implementation.
<br>
<br>
<br>
Best regards,
<br>
<br>
Jari Williamsson
<br>
<br>
<br>
On 2017-08-08 13:13, Jan Angermüller wrote:
<br>
<blockquote type="cite">Jari,
<br>
<br>
thanks a lot for the huge update!
<br>
<br>
 >FCUI:IsFontAvailable() uses the new Finale 25 PDK API for
checking font availability, rather than the using system calls.
(Earlier Finale versions still uses the old implementation.)
<br>
<br>
It comes with an enormous speed deficit on Fin25 - the factor is
about 200.
<br>
In all my plugins I am checking about 1000 fonts (including
their bold, italic, bold italic derivatives) for availability on
the system. It takes about 100 milliseconds on Fin2014, but
about 20 seconds on Fin25.
<br>
Could you please make the old font check also available by
option for Fin25?
<br>
<br>
Best,
<br>
Jan
<br>
<br>
<br>
<br>
_______________________________________________
<br>
JWLua mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<br>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
<br>
<br>
</blockquote>
<br>
<br>
<br>
_______________________________________________
<br>
JWLua mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<br>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
<br>
</blockquote>
<br>
</body>
</html>