[JW Lua] FontName on accidentals returns "Times New Roman" - why?

Robert Wildling robertwildling at gmail.com
Tue May 31 09:32:52 CEST 2016


As Mr. Pat wrote in an earlier post: send your question to the mailing
list; sometime late you'll find the answer for yourself...

So did I. :-)

To display the proper font, accMod:SetUseCustomFont(true) has to be set.

Still, the question, why there are three functions to get the font name
info, remains:

print("GetFontName():", accMod:GetFontName())

local fontinfo = finale.FCFontInfo()
accMod:GetFontInfo(fontinfo)
print("GetFontInfo:", fontinfo:GetName())

local fontInfoString = finale:FCString()
fontinfo:GetNameString(fontInfoString)
print("Font Info String:", fontInfoString.LuaString)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20160531/695694e8/attachment.htm>


More information about the JWLua mailing list