Fixed Width Fonts #2

Scott Rossi scott at tactilemedia.com
Mon Jan 28 18:56:56 EST 2008


Recently, BNig wrote:

>> I modified the code to not need to use fields at all (I'm using
>> the templateField), and I discovered a speed increase (at least on my
>> machine).

> somehow it doesnt filter for monospaced fonts. You probably meant
> 
> if w1 = w2 then
> 
> in the code
> 
> but still, when debugging, w1 and w2 are always 0, so w1 and w2 are always
> equal and the names of all fonts are returned.

Yes, I think this is right.  I don't believe formatted-anything returns a
useful measurement unless you query a physical control on a card.  At least,
this has been my experience in the past.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list