strange mac font problem

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rezmus
Posts: 12
Joined: Fri Apr 04, 2008 11:20 am

strange mac font problem

Post by rezmus » Tue May 06, 2008 2:22 pm

i played a while with rev on windows, now i need to do some work on mac, but i've already have strage problem with fonts on mac version of rev studio 2.9...

i've set stack font to be "lucinda grande" 13, and buttons, list box i add to stack are using this font, np with that. troubles begins with fields, no matter the textfont property text is always entered with font "geneva ce", even if text property of the field is something different... is it a bug or i miss something? there wasn't such prob on windows version, i'm not really familiar with mac.

take a look at this screenshot, as u can see button and list field has "lucinda grande" font take from stack textfont property, but field even when i set text property to "lucinda grande" still uses font "geneva ce" for input...

Image

Obleo
Posts: 174
Joined: Mon Apr 10, 2006 10:35 pm
Contact:

Post by Obleo » Tue May 06, 2008 3:31 pm

I get the textFont to work right with rev studio 2.9 on Mac OSX systems running 10.4.11 and 10.5.2 In both stacks and standalones.

Not sure why it not working for you.

maybe try setting the textFont and textSize of the objects by script.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Tue May 06, 2008 3:58 pm

Also watch out that the text itself has no font set, Rev by default retains all font encoding when you paste rich text. Try this in the message box, with the mouse pointer on your misbehaving field:

Code: Select all

set the htmltext of the mousecontrol to the text of the mousecontrol
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

rezmus
Posts: 12
Joined: Fri Apr 04, 2008 11:20 am

Post by rezmus » Tue May 06, 2008 5:06 pm

tx, already found a solution. the problem was because i had only polish lang added to inputs, when added us keyboard in mac's international settings problem gone.

Post Reply