What is the standard Mac Button Font?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
What is the standard Mac Button Font?
What is the standard Mac Button font and size? It is really surprising that the standard Mac default font is not the one selected when you drag a new button onto a LiveCode card.
It used to be Chicago font at size 12, then Charcoal. I tried Charcoal but it isn't right on my Mac. Why can't Run Rev make all the default fonts and sizes more standard to help folks make more professional looking apps? It seems this should be a given.
It used to be Chicago font at size 12, then Charcoal. I tried Charcoal but it isn't right on my Mac. Why can't Run Rev make all the default fonts and sizes more standard to help folks make more professional looking apps? It seems this should be a given.
Thanks,
MouseUp
MouseUp
Re: What is the standard Mac Button Font?
If you are talking of OS X (I mean not MacOS 8 and 9), the font should be Lucida Grande 13. If you don't choose any font in the Inspector it should be this automatically.
Last edited by Mag on Mon May 20, 2013 3:07 am, edited 1 time in total.
Re: What is the standard Mac Button Font?
The button created by LiveCode it seems the same as the one created by Xcode to me. At least as appearance, actually the antialiasing looks like better in Xcode project, this could be because LiveCode maybe uses Carbon control instead of Cocoa (I think).
PS
OT I don't receive any notifies of new replay since the new RR site is live.
PS
OT I don't receive any notifies of new replay since the new RR site is live.
Re: What is the standard Mac Button Font?
Thanks for the responses. Weird. When I drag a new button and look at the font that was used I get no name or size showing in the object editor/Text Formatting pallete. The font name and font size fields are actually empty! If I type in a size such as 10 then next time I select it, the font name Lucida Grande does show and the size does show 10.
The font size is for some reason defaulting to size 10 on my Mac OS X iMac (even though it isn't indicated at first check). Is this a bug? Is there a way to set these preferred settings as my system wide global default button font and font size in RunRev? Or do I have to go through this dance every time I drag a button?
PS: I am running LiveCode v4.6.4
The font size is for some reason defaulting to size 10 on my Mac OS X iMac (even though it isn't indicated at first check). Is this a bug? Is there a way to set these preferred settings as my system wide global default button font and font size in RunRev? Or do I have to go through this dance every time I drag a button?
PS: I am running LiveCode v4.6.4
Thanks,
MouseUp
MouseUp
Re: What is the standard Mac Button Font?
The default font and size is set during start up of the IDE, you can include a routine in your startup handler for your compiled apps so the right font and size is used depending on the platform.. Just set the font and size on the stack and all cards and controls will inherit from there..
Re: What is the standard Mac Button Font?
Make sure that the cRevGeneral group is copied to your standalone app when you create it (it should be there by default when you build the app usually). It includes the default font settings (and some other things, like the answer dialogue sizes and other small presets).
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: What is the standard Mac Button Font?
Hi again. Perhaps I was unclear... My question is really about just using LiveCode- not in making a standalone. When I am creating scripts and dragging buttons on cards I am not getting the Lucida Grande 13 in my LiveCode default buttons. Is this a bug and can I change the way LiveCode works so that its default is corrected? Perhaps my Mac OS X fonts are corrupted somehow?
Thanks,
MouseUp
MouseUp
Re: What is the standard Mac Button Font?
This is correct, you don't need to specify font and size. LC automatically provides the correct font and size accordind to Loock and size of the target platform. If you specify something, you constarin LC to use them regardless the platform in which your standalone runs.MouseUp wrote:Thanks for the responses. Weird. When I drag a new button and look at the font that was used I get no name or size showing in the object editor/Text Formatting pallete. The font name and font size fields are actually empty!
PS
Check in the "View" menu -> "Look and feel" menu item what is your choice, the default one is "Native Theme".
Also notice that you can specify some basic setting of the newly created buttons in LC preferencees (actually only object sizes), remember to leave the standard choice there.
Re: What is the standard Mac Button Font?
Which version of OS are you using?MouseUp wrote:Hi again. Perhaps I was unclear... My question is really about just using LiveCode- not in making a standalone. When I am creating scripts and dragging buttons on cards I am not getting the Lucida Grande 13 in my LiveCode default buttons. Is this a bug and can I change the way LiveCode works so that its default is corrected? Perhaps my Mac OS X fonts are corrupted somehow?
Re: What is the standard Mac Button Font?
Hi Mag, I have iMac OS X 10.6.8 and RunRev v4.6.4.
(I do have "Native Feel" selected.)
(I do have "Native Feel" selected.)
Thanks,
MouseUp
MouseUp
Re: What is the standard Mac Button Font?
In the Home stack script look for the revInternal__InitialiseDefaults handler and you can change the font and size in there.. The default size is 11 on Mac OS X, whereas it should be 13.. You will still see some differences as Rev is a Carbon app..
-
- VIP Livecode Opensource Backer
- Posts: 184
- Joined: Wed Apr 10, 2013 5:09 pm
Re: What is the standard Mac Button Font?
Cocoa was one of the stretch goals that was funded during the Kickstarter campaign. Hopefully we will see Cocoa come to LiveCode soon.Mag wrote:actually the antialiasing looks like better in Xcode project, this could be because LiveCode maybe uses Carbon control instead of Cocoa (I think).