mobileControlSet "fontname" parameter

John Dixon dixonja at hotmail.co.uk
Mon Oct 12 08:50:58 EDT 2015


mmm...

just tried in with

      iphoneControlSet inputID, "fontName", "helvetica"
      iphoneControlSet inputID, "fontName", "american typewriter"

and it works, in the simulator, anyway...

> From: alanstenhouse at hotmail.com
> Subject: mobileControlSet "fontname" parameter
> Date: Mon, 12 Oct 2015 13:54:08 +0200
> To: use-livecode at lists.runrev.com
> 
> Can someone confirm (or not) that when setting the fontname for a text input control on mobile, that we have to use the Postscript name of the font?
> 
> e.g.
> mobileControlSet controlID, “fontname”, FontPostscriptName
> 
> I had somehow thought this was being handled automatically for us, but if it’s not, anyone come up with a good way of handling it (other than just keeping our own mapping table for font names in our app)?
> 
> LC 6.7.6
> 
> cheers
> 
> Alan
> --
> Alan Stenhouse
> alanstenhouse at hotmail.com
> 
> Check out our apps on the App Store:
> 
> BeatSpeak - the multilingual talking metronome
> EV-Point - Find your nearest Electric Vehicle Recharge Station.
> Re-Collections - Make your family history come to life. Every picture tells your story.
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 		 	   		  


More information about the use-livecode mailing list