Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display the Sindhi Language fonts?

I'm making an app in my native language Sindhi.

Note: Sindhi language has 52 alphabets, like this

**ا، ب، ج،ف، ڪ** 

I have installed Sindhi fonts on my PC, also I have the unicodes of Sindhi.

Problem

When I set text on my Button, like this

        <Button
        android:id="@+id/btnSindhiLessons"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:padding="30dp"
        android:text="سنڌي سبق"
        android:textSize="30sp" />

It shows perfectly on the code view but in design view it's showing something like this:

enter image description here

but on device or emulator it renders like this:

enter image description here

Notice that one letter is missing. I'm using Android 4.0.4

like image 317
Qadir Hussain Avatar asked Oct 03 '13 19:10

Qadir Hussain


2 Answers

It's because Eclipse doesn't support Sindhi. While in your device it may support of it's 4.0+, I'm not sure it'll look good if you have an early android device.

check this out.

like image 162
Ahmed Ekri Avatar answered Nov 14 '22 11:11

Ahmed Ekri


you are copy pasting the text directly to the code:

use uni code:

like this: \u0623,\u0623,\u0623,\u0623 for your every character

or 

get supportive type face,which support sindhi.

one i know that is jameel noori nastaleek

hope it will solve your issue

like image 43
Hamad Avatar answered Nov 14 '22 11:11

Hamad