[JW Lua] JW Lua, beta 0.53 / Font dialog problem

Jan Angermüller jan at angermueller.com
Mon Aug 21 11:02:19 CEST 2017


Thanks again, Jari, for this update!

 >FCFontDialog class added, for a user font selection dialog.
Wow, great feature!
Unfortunately the sample string changes when the font changes in the dialog.
See this video:
https://www.youtube.com/watch?v=6IsMT5Q_tDw
And do you know if the list of fonts displayed here is identical to what 
FCStrings:LoadSystemFontNames() returns ?

Test code:
local fontinfo=finale.FCFontInfo()
fontinfo.Name="HayFIN"
local d=finale.FCFontDialog(finenv.UI(),fontinfo)
local str=finale.FCString()
str.LuaString=string.char(38)
d:SetSampleString(str)
d:Execute()

Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20170821/2bd267ac/attachment.html>


More information about the JWLua mailing list