[JW Lua] fontMus(Font0,0) and category font changes

Jan Angermüller jan at angermueller.com
Thu Mar 19 10:10:27 CET 2015


Jari,

when I change the default music font of an expression category, the 
expressions from that category are not updated with the new font 
information although they use the tag fontMus(Font0,0) which I thought 
would be the information to use the font from the expression category.
You mentioned once that categories and expressions only have a very weak 
link.
But how is it in this case ?

The new category font is Broadway Copyist. The expressions show the 
correct font if I update their tags to fontMus(Broadway Copyist).
But that doesn't mean the same as Font0, does it ?
What does Font0 mean in this case anyway ?
Isn't fontMus enough information to use the category default font ?
If I set the expression's Enigma tag tofontMus(Jazz) although the 
category music default font is set to Broadway Copyist, the Jazz font 
will be used. Seems that the font name overrides font*Mus*.
Or is fontMus is just a reminder for the developer to change the font 
that follows to the new category font ?
When I use FCString:ReplaceCategoryFonts, it removes the Font0 entries. 
Is that correct ?

Hm, difficult topic...

Best regards,
Jan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20150319/28050fdd/attachment-0002.html>


More information about the JWLua mailing list