[Resolved] Text not displaying on device

Hi all,

I hope you’re all well.

I’ve just finished developing a simple interactive book, and everything works perfectly fine in the simulator, however, when I put the app on my iPhone, the text doesn’t display? which is really odd, and not really ideal considering it’s a book :slight_smile:

If anyone has any advise, that would be great, I can post the code on here if that helps coming up with a solution.

As always, thank you all for your help with this.

Cheers,

Chris [import]uid: 43642 topic_id: 25322 reply_id: 325322[/import]

Hey Chris,

What an odd issue.

Are you using a custom font at all?

Do you think you could make a small sample app showing the issue? If you can I’d be happy to take a look at and see if I can help you figure this out :slight_smile:

Peach [import]uid: 52491 topic_id: 25322 reply_id: 102397[/import]

Hi Peach,

Thank you for your help (as always) :slight_smile:

You know what, I think the problem is that I am indeed trying to change the font, for some reason a default font maybe displaying in the simulator, however, the font isn’t showing up on the device.

To be honest, I don’t really mind what font is displaying, although, having a nice font in the book would be nice.

Would you like me to post the code on here, or would you like me to email you the project so you can have a look at it in your own time to see if you can track the problem down.

There is no rush at all with this project, so only take a look in your own time.

Thanks again for all your help with this project.

Cheers,

Chris [import]uid: 43642 topic_id: 25322 reply_id: 102411[/import]

Hey Chris,

Yeah, I’m happy to take a little look at this - it sounds like a very strange problem and if it has happened to you it could very well happen to others so I’d like to know what’s up here.

I’ll have you email me rather than post code as obviously I wont have your images etc to make it just run.

If you want to swap your images out or watermark them etc. I wont be offended either - totally understand people being protective of their work :wink:

peach[at]anscamobile[dot]com

If you could include the URL to this thread somewhere in the email that would be great too, just so I can update this later.

Peach :slight_smile:

PS - May not actually get to this until tomorrow evening as I’ve got a meetup in the day tomorrow so please be patient with me :wink: [import]uid: 52491 topic_id: 25322 reply_id: 102421[/import]

Hey Peach,

Thank you so much for taking the time to look at the code - you seemed to work your magic on it, and it now works fine.

Thank you for all your help with this.

Cheers,

Chris [import]uid: 43642 topic_id: 25322 reply_id: 102779[/import]

Oh great, I was just thinking about you and wondering if you’d had a chance to test it out yet.

Happy to have been able to assist, marking as resolved.

Peach :slight_smile: [import]uid: 52491 topic_id: 25322 reply_id: 102845[/import]

Hi Peach, Chris,
I am having the exact problem. I am changing the font in my storybook from systems font to a custom font, and it works fine on the simulator, but no text appears in the build.

I have tried both an .otf font and a ttf font.

Have you found a solution to this problem.
Laura [import]uid: 106593 topic_id: 25322 reply_id: 103728[/import]

Hey Laura,

Normally this kind of thing is just a matter of troubleshooting; there are a few steps involved but I’m actually going to send you an email as I think it will be faster to get through them.

Peach :slight_smile: [import]uid: 52491 topic_id: 25322 reply_id: 103739[/import]

Thank you Peach, I appreciate all of your help. The fix worked! [import]uid: 106593 topic_id: 25322 reply_id: 103805[/import]

Can I get the solution? I have the same issue.

thanks

Mark [import]uid: 80164 topic_id: 25322 reply_id: 113989[/import]

Hey Mark,

The reason the “solution” wasn’t posted publicly is because it isn’t a wide fix - it was specific to Laura.

If you have a problem with your text displaying you should first post code from your build.settings file as well as from main.lua or whichever file you display your text in. You also need to specify iOS or Android, or both. Whether or not the font is in the root folder and the name of the font.

If you can post with these things I shall of course endeavor to help you solve the problem :slight_smile:

Peach [import]uid: 52491 topic_id: 25322 reply_id: 114036[/import]