LWUIT : arabic font problem - java-me

Hi
how can i add arabic Characters to bitmap font and show in application ? how can i do it on localization section ?
when i use system font it`s shows seprated and reserved on some phones , i want to make bitmap font to show arabic strings correctly on all phones
thanks

you can't, LWUIT doesn't support Arabic bitmap fonts. Which is related to the fact that Arabic language contains different glyph for each character, which didn't considered while developing the bitmap font in LWUIT.

Related

Non-ascii characters get ignored in Godot lable text

I was working on a Hello World scene of Godot.
Instead of using "Hello World" as demonstrated in the tutorial, I tried something like "你好世界", but I found that it didn't work. Anything non-ASCII that I typed in the label text input got ignored.
How can I use non-ASCII characters in Godot labels? Or is it supported at all?
The default Label font in Godot doesn't support non-ASCII characters.
You can try to change the font in your Label node to one that supports non-ASCII symbols by picking a font from your computer, or if it doesn't exist on your device, uploading it from some site like Google Fonts.
After choosing the font for your Label node, open the Custom Fonts property in the editor of the node, and create a DynamicFont, and in Font => Font Data press Load and choose your font in the opened window in the file system (.ttf or any another font extension).

Using font character as a map icon in KML

In the current project a custom equivalent for Font Awesome is used for all required icons in the web application.
Is it possible to use Font Awesome, or some other font based symbol instead of PNG graphics as a KML icon?

Set the size of text in label in LWUIT j2me

Is there any way to set the size(means font size,i want to make my text larger contaning font size of 17-20) of the text in the label in LWUIT for J2ME.
You can set the large text by two ways.
Use ResourceEdit and Create the new Large Font in Font tab. Then change the Label#Unselected font to that new Large Font.
Use following code,
new Label("Sample").getStyle().setFont(Font.createSystemFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_LARGE));
For more info see this article, Using Font with LWUIT

Arial Unicode MS font equivalent in Linux [duplicate]

Is there a free Unicode font equivalent to Arial Unicode MS?
Arial Unicode MS is not free, and I need font to support various languages in my Flex application.
Use the DejaVu font, which is an extension of Bitstream Vera.
You can try Google Noto Fonts which is a collection of fonts that cover most of the ranges specified in the Unicode standard.
If you are wondering if there is any way to merge all these multiple fonts into single font then the below discussion link will be of interesting to you.
Single ttf for all languages?

how to make vim recognize CJK characters and render them larger than ASCII?

I am using vim to work on both Chinese and Western text. The default font size is okay for Western text, but the Chinese characters, while readable, are too small
for my taste.
Can I tell vim to render CJK fonts with, say, 14pt while not affecting the font size of all other text?
Thanks for your ideas/solutions!
Guba
If you are using gVim try to set guifontwide to different font. You can try MS Mincho or MS Gothic on Windows.
Note, that on all GUI versions but GTK+ 2 guifontwide option is used only when encoding is set to utf-8 and guifontset is empty or invalid. More info in :help guifontwide.

Resources