Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 1025 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

 

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.

 

Posted

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

This topic is 1025 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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