[JW Lua] FCUI:IsFontAvailable() very slow on Fin25 / V0.50 - factor 200
Jan Angermüller
jan at angermueller.com
Wed Aug 9 08:34:21 CEST 2017
Yes, you're right. It seems to be a problem only when a font name isn't
found.
My factor of 200 was a mixture of some fonts found and some not.
Thanks, Jari!
Best,
Jan
Am 08.08.2017 um 21:10 schrieb Jari Williamsson:
> Jan,
>
> 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.
>
> On the Mac, the API solution is actually faster than my implementation.
>
>
> Best regards,
>
> Jari Williamsson
>
>
> On 2017-08-08 13:13, Jan Angermüller wrote:
>> Jari,
>>
>> thanks a lot for the huge update!
>>
>> >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.)
>>
>> It comes with an enormous speed deficit on Fin25 - the factor is
>> about 200.
>> 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.
>> Could you please make the old font check also available by option for
>> Fin25?
>>
>> Best,
>> Jan
>>
>>
>>
>> _______________________________________________
>> JWLua mailing list
>> JWLua at jwmusic.nu
>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>
>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20170809/02301c63/attachment.htm>
More information about the JWLua
mailing list