It's an external, a dll on Windows and a bundle on Macs. You'll need to ship the appropriate external with your app, and set the externals property of your mainstack to point to the file's location. Then you can use revFontLoad and revFontUnload to manage the fonts.

Beautiful!  Worked like a charm!

I put both externals into a folder called "Externals" that will ship with the game regardless of platform. That way even during development I know it's working properly as I have not set Metacard itself to use the externals.

Then on preOpenStack:

  put fGameFolder & "Externals/" into loadExtras
  if the platform is "MacOS" then
    put loadExtras & "revfont.bundle" into loadWhat
  else put loadExtras & "revfont.dll" into loadWhat
  set the externals of stack "nameOfMainStack" to loadWhat


--
  Dogs and bears, sports and cars, and patriots t-shirts
  http://www.villagetshirts.com
 WlND0WS and MAClNT0SH shareware games
 http://www.gypsyware.com
_______________________________________________
metacard mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to