Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Juggernaut

GMImage.SetFont troubles on ios sdk

Featured Replies

I'm trying to write text on a png on my ios sdk fm go app.

The process works fine on macos however when I move the app to ios sdk, I get the attached error (like it can't find the font). How can I get this to work on iOS?

MBS("GMImage.SetFont"; $temp; "Helvetica")

Screenshot attached of my script

Screen Shot 2022-01-27 at 2.14.14 PM.png

Screen Shot 2022-01-27 at 2.17.51 PM.png

 

So Helvetica is not found?

You could try and see what MBS( "GMImage.FontMap" ) returns. 

You could check what fonts are installed on iOS and pass absolute paths for them as in our examples for other operation systems.

 

  • Author

Hi Christian,

I ran the MBS( "GMImage.FontMap" ) and was able to get the absolute path of a font on the iOS device. For example:

@/System/Library/Fonts/Core/Helvetica.ttc

However I still get the error "Unable to read font"

Screen Shot 2022-01-31 at 9.38.18 AM.png

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.