In fact, one can "fine tune" this operation to have this sort of effect:

put the number of chars in fld "ff" into NF
if char NF of fld "ff" = "a" then
  set the textFont of char NF of fld "ff" to "MonsterMash"
  else
  set the textFont of char NF of fld "ff" to "UsualBoring"
end if

Richmond.

On 16/8/2018 12:32 pm, Richmond Mathewson wrote:
So, mucking around as one does during one's Summer holiday I went looking in the documentation of LiveCode (shock, horror) and could NOT find something that had bubbled up in my diseased mind, so I tried it anyway,
and . . . Ye Gods! It worked.

Possibly I am reinventing the wheel here:

set the textFont of word 3 to "Charcoal"

This IS incredibly useful when one is typing to Mum in Sanskrit (as one does) and wants to use a variant glyph (as one does continuously) as it allows one to have 2 congruent fonts
side-by-side featuring differing variants of standard glyphs.

No: I know that that will not make many of you run out into the road madly waving your underpants over your heads shouting "Ra, Ra, Rasputin!", but, notwithstanding . . . it excites me
no end.

Richmond.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to