Fonts don't show correctly in iOS test

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Jordy
Posts: 32
Joined: Sat Feb 27, 2016 3:59 am

Fonts don't show correctly in iOS test

Post by Jordy » Sat Feb 27, 2016 4:06 am

Hello,
I went to test an app using the simulator in live code ((live code Menu) development -> test target -> iPhone simulator 9.1) after loading the simulator and opening app the fonts I chose were replaced with generic ones. Does anyone know if it is an issue with the simulator? The other option would be that not all fonts included in live code are supported by iOS. Any thought?
Thanks

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: Fonts don't show correctly in iOS test

Post by quailcreek » Sat Feb 27, 2016 5:10 am

Hi Jordy,
Are you on a windows or Mac machine? Are you talking about setting the font of a field and how did you set the font?
Tom
MacBook Pro OS Mojave 10.14

Jordy
Posts: 32
Joined: Sat Feb 27, 2016 3:59 am

Re: Fonts don't show correctly in iOS test

Post by Jordy » Sat Feb 27, 2016 5:40 am

Tom,
I am using a mac. I set the font using the inspector options inside of buttons. The font inside of a text field is also wrong.

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: Fonts don't show correctly in iOS test

Post by quailcreek » Sat Feb 27, 2016 5:48 am

I should have asked before. When version of LC and Xcode? I have seen this in the sim when testing with a 5s and higher but on the device it's fine. What device are you test within the sim?
Tom
MacBook Pro OS Mojave 10.14

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Fonts don't show correctly in iOS test

Post by Simon » Sat Feb 27, 2016 7:55 am

Hi Jordy,
Just a quick check.
Are you adding the font (.tts) in the Copy Files tab of the standalone builder? Have to do that :)

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Jordy
Posts: 32
Joined: Sat Feb 27, 2016 3:59 am

Re: Fonts don't show correctly in iOS test

Post by Jordy » Sat Feb 27, 2016 6:40 pm

X-Code 7.2.1 Livecode 7.1.1
I have not tried the font (.tts) i will look into that.
Simulator is the one accused from inside of live code it is iPhone 4s/iOS 9.1
I am going to try an iPad simulator
I will also try to test on a real device and get back to you guys.
Thanks

Jordy
Posts: 32
Joined: Sat Feb 27, 2016 3:59 am

Re: Fonts don't show correctly in iOS test

Post by Jordy » Sat Feb 27, 2016 7:00 pm

ipad2/iOS9.1 simulator through livecode changed my fonts the same way as the iPhone simulator

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: Fonts don't show correctly in iOS test

Post by quailcreek » Sat Feb 27, 2016 7:00 pm

What fonts are you using?
Tom
MacBook Pro OS Mojave 10.14

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Fonts don't show correctly in iOS test

Post by Simon » Sat Feb 27, 2016 7:58 pm

Hi Jordy,
If the font you are using is not in this version/list;
http://iosfonts.com/
You must include them in the Copy Files tab.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Jordy
Posts: 32
Joined: Sat Feb 27, 2016 3:59 am

Re: Fonts don't show correctly in iOS test

Post by Jordy » Sat Feb 27, 2016 8:45 pm

Thanks Simon
I believe that is the problem. I will likely just change the font to one on the list. Could you try to explain how to include them in the Copy Files Tab. I tried looking it up but I couldn't find the info>
Thanks Everyone

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: Fonts don't show correctly in iOS test

Post by quailcreek » Sat Feb 27, 2016 9:02 pm

Tom
MacBook Pro OS Mojave 10.14

Post Reply