Skip to main content

How to use Arabic Fonts

4 replies [Last post]
technolgia
Offline
Joined: 2009-03-09
Points: 0

Hello All,

I have an existing applicaiton built using LWUIT. Now the client wants the applicaiton localized in arabic. How do i use arabic fonts in my application? Could someone kindly help on how to go about this.

Thanking you,

Regards,

S.A.Norton Stanley

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
technolgia
Offline
Joined: 2009-03-09
Points: 0

Hello All,

Can someone kindly help me with this.

Thanking you,

Regards,

S.A.Norton Stanley

vprise
Offline
Joined: 2003-11-07
Points: 0

Posting once is sufficient.

Bitmap fonts don't work in Arabic due to the structure of the language script (letters change and bind based on their position in the sentence) if you use system fonts Arabic will work as expected.

technolgia
Offline
Joined: 2009-03-09
Points: 0

Hello vprise,

Thank you. So this means that the device should support Arabic? And if i would want to display a Label with text "Hello" in Arabic, should i just create a label as follows:

Label arabicLabel=new Label("Hello"); and would this be displayed in Arabic?

Thanking you,

Regards,

S.A.Norton Stanley

abuhmead1987
Offline
Joined: 2010-04-21
Points: 0

What are you talking!

if hello is a key in localization it works fine,

the arabic displayed correctly on all of nokia and samaung devices and others but some problem on Sony eressons devices, which is the text displayed seperated and from left to right

=new label("مرحبا"); this works fine with system font