Font selection on Mac

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Font selection on Mac

Postby IT2Be » Thu Dec 18, 2008 12:40 pm

For some odd reason I can not set another font type for elements etc.

When I click in the properties bar the OS X font selection dialog pops up but whatever I do I can not get the font set.

The dialog is selectable etc but when I want to confirm by clicking enter the dialog disappears and the font is what it was before.

All font settings from the import are respected so I guess it has something to do with the dialog/change listener...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Font selection on Mac

Postby lvostinar » Fri Dec 19, 2008 4:27 pm

Note that FontDialog from swt is system specific and we only support font type, style and size. Modifying other font properties won't have any effect. Maybe this clears things ?
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: Font selection on Mac

Postby IT2Be » Fri Dec 19, 2008 5:48 pm

No, that does not change the issue.

I can not change font family, style and/or size.

I understand what you say but it is best imho to use the 3.5 font editor or change the interaction with the system chooser...
Can you please check this yourself so that you see what I mean.
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Font selection on Mac

Postby lvostinar » Fri Dec 19, 2008 6:06 pm

I tried this on my windows and a 10.4 mac here (on latest sources) but didn't find a bug. If you are sure it is a bug file a case in our support system.
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: Font selection on Mac

Postby IT2Be » Fri Dec 19, 2008 6:55 pm

Maybe that is the difference. 104. and 10.5. I sure can't change the font here so I will file a bug...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Font selection on Mac

Postby IT2Be » Wed Dec 24, 2008 2:57 pm

Imho this is the issue:

OS X 10.5 wants to edit the color in the font picker as well.
The console shows the following error when I try to set the font: Macintosh servoy[6601]: Custom ColorPicker class with name .com.freeverselib could not be loaded.

I have created a case #181419.
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Font selection on Mac

Postby IT2Be » Wed Jan 07, 2009 12:02 pm

So this is/was the issue reported back by Servoy Support:

This error is caused by a custom color picker which is installed. See http://www.cocoabuilder.com/archive/mes ... /13/194876 . Delete file ".com.freeverselib" from ~/Library/ColorPickers or /Library/ColorPickers.

The funny thing is that I don't have that library installed and when I moved my custom colorpickers from /Library/ColorPickers to ~/Library/ColorPickers the issue was solved :?

Hope this helps in case somebody else experiences this...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 8 guests