Adding fonts on iOS

I’m using MBS

FolderItem.FontActivateMBS(OnlyLocal as boolean) as Integer

Every font loaded returns a -1 (parameter error) but then most of the fonts seem to work.
If I don’t load them, then when i call New Font an exception is thrown.

It makes me a little nervous because there is an error reported (even if it is working) - maybe it will break on some systems.

Anyone have any experience with this?

on iOS, you usually bundle the font file with the app and put it in the info.plist so it is active in the app automatically.

Mr. Leroy just taught me to do this now.

Works like a charm.
Thanks to both of you.

2 Likes