Embedding fonts in Metacard

J. Landman Gay jacque at hyperactivesw.com
Tue Nov 11 15:33:59 CST 2008


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         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the metacard mailing list