Scripting font and font size
Hello,
Is it possible to set (and change) font and font size of objects like comment and ubumenu using thispatcher or (preferably) js? Looking at text versions of patchers, it appears that there's a many-digits number at the end of the comment description which determines the font settings. Is there a way to code and decode this number in a predictable way, so I can set any font and any size? Or an other, more straightforward way?
Dag Henning
I tried out a couple things, seems to me that when you leave out:
but do do paste this:
that font sizes do work.
the last two digits - 8 gives the font size.
scripting works:
I haven't found out anything about font faces tho. They influence the magic number greatly, but I don't know in what way.
I think the magic numbers also refer to entire font sets, as going up one will increase the font size through a number of sizes, then switch to the next font in the list. As far as a map, that would take some time...
-CJ