Jacque:

put char offset("on revFontGetSystemFont", \
  the script of button "revCommon" of stack "revLibrary") to \
  offset("end revFontGetSystemFontSize", \
  the script of button "revCommon" of stack "revLibrary") \
  of the script of button "revCommon" of stack "revLibrary"


note that revCommon is added to every built standalone, therefore building on 
macos and then checking the effective font in a windows standalone will only 
show that revcommon works as expected ;)

You probably remember those problems from standalones built with Metacard, 
where revCommon does not exist.


On 6 Jul 2011, at 07:46, J. Landman Gay wrote:

> On 7/6/11 12:18 AM, Terry Judd wrote:
> 
>> 
>> Really? I just created a new stack, dragged a field onto it, typed in some
>> text, saved it and created an OSX standalone - no fonts or sizes set
>> anywhere. When I launched the standalone the text displayed in Lucinda
>> Grande 11 point.
> 
> I think the IDE standalone builder is setting it during the build. So now, if 
> you build for Windows and move it to that OS, and a script queries the 
> effective textfont in Windows, I bet it's still "Lucida Grande", even though 
> the field should display in the system font (since there isn't usually a 
> Lucida Grande on Windows.)
> 
> I think the test will fail, but if someone has time maybe they'll test it. It 
> would be nice if I were wrong.
> 
> -- 
> Jacqueline Landman Gay         |     jac...@hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to