Preferred Font

Mark Swindell mdswindell at cruzio.com
Fri Nov 7 15:36:18 EST 2008


Tom,
You might do something like this to use the appropriate font at  
startup.  You can put it in the stack script.
Mark

on startup
       setFonts --changes font based on Windows or Mac
end startup

on setFonts
   --call from startUp
   if the platform = "MacOS" then
     repeat with x = 1 to the number of fields of cd 1
       set the textFont of field x of cd 1 to Tahoma
     end repeat
   end if
   if the platform = "Win32" then
     repeat with x = 1 to the number of fields of cd 1
       set the textFont of field x of cd 1 to Times
     end repeat
   end if
end setFonts



On Nov 7, 2008, at 7:50 AM, Thomas Cole wrote:

> I have a program I've made, and on the Mac side Helvetica looks fine,
> but the font is a little spindly and weak-looking on the PC side. I
> chose Helvetica because I thought it would be a font that all machines
> would have as a part of their system. Is there a better choice with
> respect to this that would be part and parcel of every system?
>
> Thanks
> Tom in Arizona
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list