Loading Custom Fonts

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Contact:

Loading Custom Fonts

Post by ctflatt » Wed Mar 02, 2011 1:05 pm

Is it possible to load fonts as a resource at startup from an embeddable font file in my app's directory structure?

I have tried using revFontLoad as described in the LiveCode Dictionary, but it caused my iOS simulator to become unresponsive. I checked the iOS Release Notes, but the only info on fonts had to do with querying the iOS system fonts.

I know that iOS can only load .svg fonts in HTML pages via Mobile Safari, but was wondering if this feature is currently supported, or could be added as a feature request? I think this would be of great value to us by reducing the memory overhead of image-based display type and body copy, especially to text-intensive apps. Would this even be possible?

If anyone has tried this, or has any other ideas, please let me know. I have an upcoming project that would utilize this feature fully.

BTW, how does one make a feature request?

Many thanks...

Todd
Last edited by ctflatt on Wed Mar 02, 2011 1:47 pm, edited 1 time in total.

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Loading Custom Fonts

Post by Klaus » Wed Mar 02, 2011 1:35 pm

Hi Todd,

"revLoadFont" is using an external and externals are not supported in LiveCode iOS yet!
RunRev will start to support externals with version 4.6, which is currently in DP state.

I have no idea about SVG webfonts, sorry.


Best

Klaus

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Contact:

Re: Loading Custom Fonts

Post by ctflatt » Wed Mar 02, 2011 1:46 pm

Thank you, Klaus.

Looks like I'm going to have to break down and join the DP.

Geez, I just bought MegaBundle... :)

Have a great day!

Post Reply