[JW Lua] FCString:CreateLastFontInfo() can crash Finale

Jan Angermüller jan at angermueller.com
Mon Mar 26 20:08:48 CEST 2018


Jari,

the following code crashes Finale. I detected this corrupt text string 
in an old Finale document from 2001.

local text=finale.FCString()
text.LuaString="^font(Times,4096)^size(9)^nfx"
local fontinfo=finale.FCFontInfo()
fontinfo=text:CreateLastFontInfo()

Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20180326/90c5f258/attachment.htm>


More information about the JWLua mailing list