textFont: seeing is believing (Transcript is not)
Richard Gaskin
ambassador at fourthworld.com
Tue Jul 27 16:54:01 EDT 2004
Looking further into the conceptual issues with inherited font
attributed I see one source of trouble:
put the effective textFont of this stack
...does not report accurate information.
Try this:
set the textFont of this stack to "0"
put the effective textFont of this stack
-- returns "0"
I would expect it to return the name of the font the stack's controls
are being rendered with.
It appears that the engine is doing what we would expect, rendering with
the system font whenever the specified font cannot be found. But by not
reporting the real information you need to visually verify the font
that's being used rather than rely on Transcript.
This has been Bugzilla'd at:
<http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi?id=1905>
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________
Rev tools and more: http://www.fourthworld.com/rev
More information about the use-livecode
mailing list