Re: Embedding fonts in Metacard
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 metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Embedding fonts in Metacard
I could swear the answer to this exists somewhere but I've looked high and low to no avail. I know that revLoadFont exists for Revolution. I thought I read where it became part of the engine. I saw the synonym XLOAD_FONT in the Rev docs so I thought perhaps that call would work in Metacard. But apparently not as my result is coming up with errors. So the question is... to load fonts in Metacard, and for distribution with a standalone created in Metacard, what do I need to do? Is there a library in Rev I can copy over? Or is this now a .dll and do I install it in the Metacard external folder? And if so, does it become part of the standalone? :-) Shari -- 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 metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: Embedding fonts in Metacard
Shari wrote: I could swear the answer to this exists somewhere but I've looked high and low to no avail. I know that revLoadFont exists for Revolution. I thought I read where it became part of the engine. I saw the synonym XLOAD_FONT in the Rev docs so I thought perhaps that call would work in Metacard. But apparently not as my result is coming up with errors. So the question is... to load fonts in Metacard, and for distribution with a standalone created in Metacard, what do I need to do? Is there a library in Rev I can copy over? Or is this now a .dll and do I install it in the Metacard external folder? And if so, does it become part of the standalone? 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. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: Embedding fonts in Metacard
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. Thankee! How's the tooth? Did they ever figure out which one it was? Shari -- 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 metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: Embedding fonts in Metacard
Shari wrote: 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. Thankee! You're welcome. How's the tooth? Did they ever figure out which one it was? No, but I broke one on the other side so they fixed that instead. Sharks grow new teeth as the old ones wear out. We should be so lucky. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard