Game Available for Test

Cubist at aol.com Cubist at aol.com
Sun Jul 6 16:47:01 EDT 2003


sez jhurley at infostations.com:
>How would you embed a font into a stack?
   I don't think you *would* do that. It's possible to do it on the Mac side, 
thanks to Mac files having resource forks, but it's not possible on any other 
platform, as far as I can tell. Thus, I'd bet that Rev can't do it *at all*, 
on *any* platform.
   What you *could* do is make yourself a preOpenStack handler that gets a 
list of all the user's installed fonts -- see also: the fontNames function -- 
and does something *if and only if* one of your stack's fonts *isn't* installed. 
"Does something" could mean putting up a dialog box to warn the user that 
some things won't look nice; it could mean warning the user about the font 
problem, giving instructions on how to solve it, and shutting down; it could mean a 
lot of different things...



More information about the use-livecode mailing list