textFont inheritance bug on Windows

Dar Scott dsc at swcp.com
Fri Aug 29 15:52:01 EDT 2003


On Friday, August 29, 2003, at 02:10 PM, Alex Rice wrote:

>> textFont and textHeight definitely are - as they should be. Otherwise 
>> we would have to compute the leading on their own each time. There's 
>> got to be other examples.
>
> Sorry, I meant textSize and textHeight. This one is discussed in the 
> Transcript dictionary and so should be generally known already.

If fixedLineHeight is false, then this is computed automatically.

If common practice is to leave this true, then there might be a benefit 
from setting textHeight each time textSize is changed.  Even though it 
should be generally known, it can still jump up and bite somebody.

(There is a straightforward dataflow style to resolving this but it may 
seem simple in only my mind.)

Dar Scott






More information about the use-livecode mailing list