On 5/24/21 4:19 PM, Paul Dupuis via use-livecode wrote:
My objective is to store the defaults for a given OS and version on startup of my application, so that if the user uses existing controls to change fonts in various places, I cna provide a means to "Reset" them to the defaults
The fonts in parentheses are special placeholders for the current system's various text fonts or styles, created so we don't have to figure out what that is. You should be able to reset the fields by assigning one of those, probably either ("Text") or ("Default"), as the font and let LC figure out what to use. That should work on all operating systems, including mobile.
I can't explain the discrepancy when getting the effective textFont but I've been using "(Text)" most of the time with good results.
-- 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