Wrong Khmer Unicode string - android

I have problem with displaying Khmer Unicode in most of Android project. What I want to display is អ៊ីមែល but the result return with unexpected value.
I also try with custom font in Khmer and support encoding as utf-8 but it still return the same result.
I'm not sure it is because of font or Android not support Khmer Unicode very well for now.
Any help anyone?

Likely link to font face that you are using, are you using. Here are some example, are you using Nokora, right?
And I could see also for Google web font, the written is the same:
So please check the correct font face before using, even in Noto google font face also, some are correct, some not correct too for that written.

Related

Arabic fonts for Android

I am new in android world. I have issue with arabic font on android device they overlap each other . And some of them are unreadable please help where i am wrong or provide some solution for it.
I used Cavorting.otf downloaded from google and worked fine for me. I also increased font size to 25sp so it can be readable easily. I recommend you to increase the font size then try changing different fonts.

#font-face do not work unicode Malayalam in android Cordova

In android #font-face do not work for UTF character.(Webpage hosted in web control using cordova)
The code works on chrome browser both on android as well as desktop.
It do not apply the changes in the application.
Observed that if there are no UTF characters then font styling was applied. Also observed that only the lines that has got UTF it is not applied with the web font style.
It was an indication that the path provided in font-face was correct.
Tried changing the UTF character to the encoded hex value and it did not help.
The Problem
In Android 4.3 the character " ്ര "details about this issue and work around is given here
I require this for Android app developed using cordova(phonegap) and hence rooting and installing is not an option.
I tried to do web view with embedded font (#font-face) and strangely, it is not working for web view in android, but works perfectly in browser of the same device.
The Solution
Got a hint from this stack over flow and this was pointing to this Solution, and thank you for that
Basically We need to get an ASCII based font and convert the unicode to mapping ASCII.
The solution provided was using JAVA and always a chance of missing some characters. Another problem that i faced using this solution was, if there is a mix of English and Malayalam character then the solution give undesirable results.
So I created this jquery plugin
Basically It does the following.
Identify the longest possible Malayalam character sequence and wrap them using tag with configurable class name.This process separate English and non English groups.
Each grouped Malayalam character sequence then converted to ASCII using a configurable mapping w.r.t the font.
The problem of Mix of English and Malayalam is solved, problem of missing some character is fixed, and also #font-face is working. I was able to create 2 fonts mapping.
So far the solution is working for me.
I feel some level of optimization can be done.

kannada text support on older Android devices

how to show kannada text on older devices.
I have tried with font files but rendering is not correct.
I have tried indic text renderer but I was stuck at
SharedLibrary : libcomplex-script-rendering.so
C:/users/vamsikrishna.g/Downloads/indic-text-renderer-72ba1d4f4f36/obj/local/armeabi/objs/complex-script-rendering/complex-script-rendering.o: In function `Java_org_iisc_mile_indictext_android_EditIndicText_drawIndicText':
C:/users/vamsikrishna.g/Downloads/indic-text-renderer-72ba1d4f4f36/jni/complex-script-rendering.c:136: undefined reference to `hb_ft_font_create'
I was not able to resolve this issue which is experienced by lot of people .
so if any body resolved or has any ideas on rendering kannada text on old Android phones
please help.
Now, far sure it is clear that a TTF file should be present to provide characters and an appropriate libraries (libskia.so or libharfbuzz.so i.e. as an example ) are required to render them correctly.
Replace the firmware of your device with similar Indian region's firmware to render the Kannada font correctly. Other regions' firmware do not render the Kannada fonts correctly. Kannada fonts correctly render on Indian Region's Android version 2.x.
please raise the points if you found this solution feasible,will be thankful to you.
If this is for a particular application:
You need to keep the ttf file in your assests folder and
follow the link...
how to add font in Android Application
this one in for hindi... You can do the same for kannada

How to support marathi text in Android?

Is there any way to support marathi font in android? I tried by adding font in assest forlder but not working. Is there any other way to do the same?
Maybe you used a font for the encoding ISCII 57002 (Devanagari), try a Unicode font, as Android uses UTF-8, Unicode. Maybe this. Not much experience in this area of Android.

Punjabi/Telugu/Tamil on Android using unicode UTF-8

I am trying to display text in Indian regional languages on an Android app.
I've set up all the localization folders even though, I just want to have only one language for my app (say Punjabi).
In my strings.xml I have tried putting Hindi characters and Chinese characters and these are displayed correctly on the emulator. But when I put in Punjabi characters nothing shows up on the emulator.
Any reason for this? Can I overcome this problem?
I have the option of using a .ttf file in the assets folder for punjabi font. But that is not what I want to do because it does not give me complete control over the contents being displayed. Each .ttf behaves differently.
Any help is truly appreciated.
There is no support for local Indian languages on Android as yet. Hence the UTF-8 characters that fall outside the acceptable range for Android are ignored. Hence we see a blank being displayed.

Categories

Resources