fontType Property

OS X 10.6.1
Servoy 4.1.0 - build 651

I am building a solution for a customer who wants to use a specific font which contains certain characters - specifically a series of directional arrow characters
The customer went to a font house and had a font commissioned which had these special characters embedded - a version of Helvetica called ‘Helvetica RS’

I have installed this font onto my MBP which is my development machine
I have opened a form in designer which has a text dataprovider which has been defined as a Text Area and which showed the fontType property as ‘Default’
I select that field and alter its fontType property to use this new font - which appears in the fonts choice dialogue
Upon saving the form or tabbing out of the fontType property area the font reverts to Helevtica and not the new Helvetica RS font
It allows the change if I change font to Helvetica Neue or any other font but not this new one
I have tried the font in Pages, Word, Numbers - a variety of other apps and it is recognised without problem
I have also tried it in Servoy 3.5.10 and it is fine there !!!

Anybody any idea why Eclipse/Servoy only is rejecting this font

Cheers
Harry

OS X 10.5.8
Servoy 4.1.4 - build 681

OK, tried this on a different machine with above S/W versions

Still the same problem

The font is recognised by other applications but NOT in Eclipse/Servoy

I change the font of a field to the new font: Helvetica RS and it reverts to Helvetica and cannot access the high ascii characters required

Anybody have any idea what could be happening here ?

Cheers
Harry

Hi Harry

May be you could get more info about a possible problem by verifying the font with the Mac built in app Font Book or any other Font app like FontExplorer X from Linotype.
In Font Book you have the menu File > Validate Font and Edit > Resolve Duplicates which I hope will get you a step further.

Best regards, Robert

Harry,

If you open the obj file of the element with a text-editor what does it say for the fontType property?

To do this, use the navigator view (Window->Show View->Navigator) and rightclick on yoursolution/forms/yourform/yourelement.obj, select Open With-> Text Editor.
You may need to name the element to find it.

Rob

Hi Rob

Thanks so much for helping me with this

The fontType property says: “Helvetica RS,0,12” - picture attached

Strange that it says: “Helvetica, Plain, 12” in the Properties panel and the text entered uses standard Helvetica

Cheers
Harry

Hi Harry

You are welcome, but what do you get when analyzing the font with the Font Book application? You use MAc, do you? The Font Book app is in the Applications folder. Please look at it and select your different Helvetica fonts and also (beside the properties mentioned in my last post) check the details with Preview > Show Font Info (this is a toggle displaying the Font preview and the technical details of the font).

One more thing: Does Servoy recognize the font? Where did you put it? In the users space (/Users//Library/Fonts/) or the machines space (/Library/Fonts/)? I assume Servoy recognizes it only in the machines space unless you explicitly set the path to the users space.

Regards, Robert

The attached picture show the font details in the Font Book.

Harry Catharell:
Hi Rob

Thanks so much for helping me with this

The fontType property says: “Helvetica RS,0,12” - picture attached

Strange that it says: “Helvetica, Plain, 12” in the Properties panel and the text entered uses standard Helvetica

Cheers
Harry