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
Related
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.
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.
In my application i want to use marathi font.I know how to use custom fonts in android.The problem is that when i use "Kruti Dev" it shows in android studio preview emulator even thought i have not set it.But if i try to use "Subak" font i am not getting the desired output.
So please can you tell me how will i be able to use this font.
Custom Font Code
Typeface face=Typeface.createFromAsset(getAssets(),
"fonts/subak.ttf);
There is an issue in Android 5.0 that causes some custom fonts to not render when loaded via the Typeface.createFromAsset() function.
The workaround is to re-encode the font that is not displaying. Upload the font file to http://www.freefontconverter.com/ and convert it to output as a TTF. Place the outputted file back in your assets folder and it should now display correctly on Android.
This issue was fixed in the Android 5.1 release.
Reference:
https://androidbycode.wordpress.com/2015/06/02/help-my-custom-font-does-not-work-on-android-5-0/
I have a rooted phone and was trying to play around with my phone. It has android 2.2 installed. What I want to do is to display Hndi/Tamil/Telugu text inside the application that I was trying to develop. Obviously android 2.2 does not support these fonts.
As the phone is rooted doing this was easy for one language. I just followed the tips given in this link Enable Hindi Fonts on Rooted Device and was able to get Hindi fonts throughout the system. Similar approach helped me setup Tamil fonts.
But I am not able to make both Hindi and Tamil work together. The possible solutions I can think off are :
i) Create a common ttf file which shall contain both Hindi and Tamil fonts. But I have no idea whether this is possible or not.
ii) Keep a .ttf file for each language in the assets/fonts/ folder but again this is showing just square boxes on the device.
I tried this link Display Different Languages In Applicationtoo but again this seems to work for only supported fonts.
Any guidance would be highly appreciated. Thanks
Try this sample application.I shared here the whole application code for how to display one text in multiple languages especially Kannada and Telugu.
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.