Own fontsuite with standalone ?

Chris Sheffield revlist at cableone.net
Tue Mar 29 16:29:53 EST 2005


Jerry,

I believe ext_loadFont is a function and not a command, so you would need to
do something like

	get ext_loadFont("/Users/jerry/Desktop/KillerStumps.ttf")

I could be wrong though.  Just a thought.

Chris Sheffield
Read Naturally


-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jerry Balzano
Sent: Tuesday, March 29, 2005 2:24 PM
To: How to use Revolution
Subject: Re: Own fontsuite with standalone ?

(away for a few days, now back at it)
Maybe there's something I'm doing wrong, but I don't see what it is.  
Or perhaps there is no "ext_loadFont" in this "EXT.dll" file.

Here's what I did: I message-box-typed

	set the externals of this stack to "/Applications/Revolution
Dreamcard 
2.5.1/components/global environment/EXT.dll"

after which I saved the stack, quit Revolution, then relaunched 
(opening the same stack).  Just to check, I bring out the message box 
and type

	[put] the externals of this stack

and Rev dutifully replies "/Applications/Revolution Dreamcard 
2.5.1/components/global environment/EXT.dll" (w/o the quotes of 
course), showing that it "remembered".  I now hold my breath and type

	ext_loadFont "/Users/jerry/Desktop/KillerStumps.ttf"

and, to my dismay, I get the familiar "Message execution error: Error 
description: Handler: can't find handler" no-go response.

Poking around the docs, I noticed related Xscript properties, the 
externalCommands and the externalFunctions.  So I tried each of these 
too, e.g. "answer the externalCommands of this stack", getting an empty 
dialog in each case.  Shouldn't these properties return something other 
than empty once I've loaded a file of externals?  I'm wading in what 
are uncharted waters for me, so my intuitions are probably faulty, but 
what's wrong with this picture?

Thanks,
Jerry


On Mar 26, 2005, at 6:12 PM, Ken Ray wrote:

> On 3/26/05 5:49 AM, "Klaus Major" <klaus at major-k.de> wrote:
>
>>> Once you have it, set "the externals" of your stack to the location 
>>> of
>>> the
>>> DLL file, save and reopen your stack, and then try ext_loadFont 
>>> again.
>>
>> please take a look in "Revolution/components/global environment/"
>> EXT.DLL ist already there...
>>
>> Question is, does this copy have the same functionality as the old
>> ext.dll?
>
> It appears to... I took the original "Externals Collection.mc" stack 
> and set
> the externals to "components/global environment/ext.dll", saved, 
> closed, and
> reopened, and it seems to work fine.
>
> So it looks like you should be able to use the ext_loadFont in the same
> way...
>
> So since the DLL is bundled with Rev now, the big question would be is 
> there
> any problem with me posting the old "Externals Collection.mc" stack
> somewhere where it could be retrieved and used by others?
>
> As Klaus so eloquently stated:
>
>> A wise and knowing word from scotland would be very appreciated :-)
>
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 3/27/2005




More information about the use-livecode mailing list