Avoiding font substitution, cross-platform

Mark Talluto userev at canelasoftware.com
Sat Dec 29 14:10:14 EST 2012


On Dec 29, 2012, at 10:50 AM, tbodine wrote:

> Hi, all.
> 
> How do you avoid font substitution of static text fields in your standalones
> that are destined for different systems and platforms? 
> 
> (In Director, we had three methods: embedding fonts, converting text blocks
> to bitmaps and adding a fontmap file with cross-platform font substitutions
> specified. The bitmap conversion was the most reliable.) 
> 
> Thanks in advance.
> Tom Bodine


Hi Tom,

You can do all three in LC as well.

Embedding Fonts:  Look into revFontLoad and revFontUnload in the dictionary
Converting blocks to bitmaps:  Look into export snapshot and import snapshot in the dictionary
Fontmap: Store a table that allows you to do a lookup per platform.  This table can be saved to a file, stored in a custom property, or stored in a field as three examples.


Best regards,

Mark Talluto
http://www.canelasoftware.com





More information about the use-livecode mailing list