I am trying to set the font of a text field to a special hebrew font. Unfortunately, on Mac, in the ‘browse mode’ I get only the default font. On Windows I get empty rectangles.
I set the font in the properties tab of the text field.
Can anyone help me to get the proper display?
Thank you,
Sabina
JavaScript Exert Webinar preso.odp (38.1 KB)
Thank you for your answer.
Here are the answers to your questions:
I set the font of the text field in designer. When I switched to display I got the default font.
It happens the same on other PC’s.
I am running Servoy 2 rc1.2 - build 259(downloaded yesterday).
Sabina
No, the font is not displayed correctly in the preview panel. It appears like the default font as well.
I am trying to set the font SIL Ezra, but it happens the same (not properly display) with Webdings or Symbol.
Sabina
It seems that we cannot handle that font correctly, can I download that font somewhere? (to do some testing with it)
Thank you very much for your help.
The URL from where I downloaded the font:
http://www.sil.org/computing/catalog/sh … &name=Font
Choose 'SIL Hebrew Font System (Ezra) ’ from the list of fonts.
Sabina
I downloaded the font for [u]windows[/u] and placed the file SILEOT.ttf in my C:\WINDOWS\Fonts and started Servoy again.
Now I can use the ezraSIL font, see screenshot
But now the less fun part, a font is not distributed with the application, so you have to make sure that the font is present for the operationg system where your solution is loaded so servoy can use it (if not present it will show default font)
tstfid.servoy (6.71 KB)
I was testing SIL Ezra on Macintosh, where it is installed, since it works in other applications.
For Windows, I tried only Symbol and Webdings.
Have you tested the font on Mac? It does not work for me ![Sad :(]()
Sabina
robotlaw-sample.servoy (352 KB)
Oh, the font characters are hebrew. It is not ok (in your screen shot). Please see the chars in another text edit application.
Sabina
hebrew chars are only seen when typing hebrew chars (which i cannot), when I use english chars it is the same in wordpad on windows, see screenshot
I worked so far on Mac. I installed the SIL Ezra fonts(all those that came in the package) on a win PC.
Then I opened Word Pad and wrote (with English chars).
Please see the result attached.
Sabina
Can you post the ttf file in this forum? the difference I see is your font is called “SIL Ezra” and mine “Ezra SIL”, very strange…
May be you have downloaded the unicode font.
Here is the ttf file.
I could not attach the file. Please check if you have the right font, called (in the website list): SIL Hebrew Font System (Ezra).
The font file name is: Silezra_.ttf
Sabina
If I download the Ezra SIL 2.0 Hebrew Unicode font package form [u]font download page[/u]
I do get the file SILEOT.ttf as font file… I don’t know where you get the other font file from.
Do note you likely need a unicode font, sinds java uses only unicode.
The hebrew font I want to use is a True Type font.
Here is the url from where you can download it:
http://www.sil.org/computing/fonts/silh … d2.htm#Win
Please check if Servoy can handle this font correctly (hebrew chars).
Thank you,
Sabina
On that page in the [u]readme[/u] is found "We strongly recommend that new
users of the SIL fonts download the new Ezra SIL Unicode
fonts instead of these."
Unicode is a charset (> 65000 tokens) not a font type, the font is still truetype ( SILEOT.ttf)
All new/recent applications use Unicode becouse it support ALL known charsets today (even chinese).
So I assume the font has to be Unicode charset, only thing needed to know which charcode corresponts to a hebrew token (or how to get the keyboard to produce hebrew charcodes when I type european chars)
The SIL Ezra font is a True Type font which uses a SIL Hebrew Standard Encoding (and it is the only font I can use, since I have to put the text larter in QuarkXPress, which does not support Unicode).
You can find some info about the encoding in the TechDoc.pdf file, in the doc directory of the install package of the font.
Can you please tell me if Servoy can be managed somehow to use this encoding?
Sabina
I have Ezra Sil Unicode font working in Servoy, see image, the steps I took:
-Download [u]font[/u] unzipped the file SILEOT.ttf and placed the font in my C:\WINDOWS\Fonts directory.
-Using windows XP I installed the eastern language pack via “Control panel” → “Regional and language options” → “Language tab” → “Install files for right-to-left languages”
-Opened Servoy
-Open Character Map “Accessories” → “System tools” select “Ezra SIL” font, used “advanced view” → group by “Unicode subrange” using the hebrew subrange selected some characters and copy/paste it into the Servoy label.
The last steps I think can be made easier to select a keyboard map which produces hebrew char codes, resulting in hebrew chars when typing on qwerty keyboard.