Font Style not "sticking"

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Font Style not "sticking"

Post by ctflatt » Fri Nov 12, 2010 7:45 pm

I have a label field set to Helvetica Neue 60 bold in my stack.

The iOS Simulator and device display this text as Helvetica Neue regular.

Am I missing something? Sorry...

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Font Style not "sticking"

Post by ctflatt » Tue Nov 16, 2010 1:16 am

Help?

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Font Style not "sticking"

Post by shaosean » Tue Nov 16, 2010 9:05 am

Here is a list of the fonts in iOS click here Scroll down through the comments as it seems people have been keeping it updated with the new releases..

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Font Style not "sticking"

Post by ctflatt » Tue Nov 16, 2010 11:55 am

Thanks for the link! My question now changes to the following:

If I specify the Text Formatting in the LC GUI that the font should be Helvetica Neue at 60 in bold, does the mobile device not map the same font from the desktop to the font on the device? According to the list, Helvetica Neue should be available in bold...

How do I specify this in LC to use the device version of the font if the IDE selection doesn't work? Programmatically? If so, what would this look like?

Your input is greatly appreciated.

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Font Style not "sticking"

Post by shaosean » Tue Nov 16, 2010 12:05 pm

Are you saying at the font size of 60? Sorry, worked a few good years at a print shop and the original wording sounded like you were using one of the Helvetica Neue variants..

In Rev are you picking HelveticaNeue-Bold from the font list, or selecting HelveticaNeue and turning on the bold style?

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Font Style not "sticking"

Post by ctflatt » Wed Nov 17, 2010 10:56 am

I'm selecting Helvetica Neue from the list and using the bold style. HelveticaNeue-Bold is not an available option. Yes, the size is 60, but it doesn't seem to be using bold at any size using the bold style...

It works in the IDE, but not the simulator or device...

Try adding a label field styled accordingly. It will appear as bold in the IDE, but compare the same stack running in simulator/device. It appears "normal" to me.

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Font Style not "sticking"

Post by shaosean » Wed Nov 17, 2010 2:11 pm

Seems like iOS does not like the faux-bold that Rev uses, try setting the textFont manually to HelveticaNeue-Bold and seeing if that works.. I am unable to test as I do not use the mobile features (or livecode)

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Font Style not "sticking"

Post by ctflatt » Wed Nov 17, 2010 10:55 pm

Thanks for the response. I'll try. I have never done this before...

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Font Style not "sticking"

Post by ctflatt » Wed Nov 17, 2010 11:55 pm

As a workaround, I have used Helvetica, and the bold formatting option. This does work in the IDE and Simulator... will update when the device is tested.

Apparently, the Helvetica Neue font doesn't work the same way...

More soon.

Post Reply

Return to “iOS Deployment”