Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

All text is displayed as '?' when the app is closed and reopened
Started by jkappes01 Dec 22 2018 02:42 PM

3 replies to this topic
text ios testing
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

jkappes01

[GLOBAL: userInfoPane.html]
jkappes01
  • Observer

  • 7 posts
  • Corona SDK

I have gotten my app onto my phone for testing purposes. When the game is first opened up, the text shows up as it is supposed to.

 

If the home button is pressed, temporarily sidelining the game, and the game is reopened, all of the text shows up as a box with a question mark inside. 

 

The font I am using is a font that I downloaded off of a font website.

 

Any clues to help me is much appreciated!

 

Thanks, Jason



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,591 posts
  • Corona SDK

Make an example project that does this, zip it up and attach it here so folks can reproduce this and give you help.  Otherwise you may just get help based on guesses about what you're doing.

 

Click 'more reply options' below for option to attach zip file.



[TOPIC: post.html]
#3

jkappes01

[GLOBAL: userInfoPane.html]
jkappes01
  • Observer

  • 7 posts
  • Corona SDK

So the problem has something to do with the custom font I am using. The font works great when the app starts up, but whenever the app is suspended, then reopened, the app bugs out and does not register the font. 

 

Is there a way to detect an app suspension, and possibly restart my app entirely if a suspension occurs?



[TOPIC: post.html]
#4

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,591 posts
  • Corona SDK


[topic_controls]
[/topic_controls]