Jump to content

GMImage.SetFont troubles on ios sdk


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

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 787 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.