[JW Lua] FCUI:IsFontAvailable() very slow on Fin25 / V0.50 - factor 200

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Tue Aug 8 21:10:55 CEST 2017


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
> 





More information about the JWLua mailing list