Indic languages on Android browser GUI Gujarati improper rendering

0 votes
I am utilising Gujarati languages on a website designed exclusively for Android devices, but I am having a lot of trouble getting the Gujarati fonts to render correctly. I at least want a workaround to make the Gujarati fonts function, as they are not by default supported on any Android versions. Thus, I did.

The Solution: - Rooting the device - Locating the appropriate unicode Gujarati font; - switching the DroidSansFallback.ttf in System/fonts to the Gujarati font (with some further changes in the fontsfallback.xml file for ICS);

This helped me, if not correctly render Gujarati texts, then at least view them.

The Problem:

1) Issue with Half Forms: Although they should merge, Half Form Letters do not render properly,

You can see exactly how it should render by referring to this faq on unicode.org. I've tried using the "Zero Width Joiner" stated there by using Html codes for each letter using [unicodeLookup][7], but it has no effect.

Anyways As it is improper but yet within acceptable bounds, this issue is not the main one.

2)

See the two images below; the first is appropriately rendered as viewed on a PC, while the second is a screenshot from an Android native browser. This rendering issue causes the texts to print erroneously.

If you google "Devanagari - Unicode Consortium ch09," you will get a pdf referring to this topic (simply go to "Figure 9-8. Rendering Order in Devanagari") that clearly describes how to render the characters correctly. The problems designated as 1 and 2 are the first and second problems, respectively. If there is anything that can be changed about Android OS to render the fonts in the right order, please do so. It appears that whatever Android uses to render the scripts is not supported for such languages.

This is definitely not a problem with fonts as i have tried using Shruti fonts which is used by windows OS, it is a problem with rendering these complex scripts

Possible Solutions: (unwanted)

1) Using opera mini with bitmap fonts (not my solution)

2) Use Images instead of texts (again not my solution as my site will have 300 lines of lists and that too for mobile, do not want to increase page size)

Please give me a proper solution to this problem, thanks in advance !!
Dec 8, 2022 in Android by Edureka
• 12,690 points
201 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Android

0 votes
0 answers

In which language is basically written Chrome Browser on Android?

What language is the Android version of ...READ MORE

Nov 10, 2022 in Android by Edureka
• 13,620 points
721 views
0 votes
1 answer
0 votes
1 answer

How to turn on front flash light programmatically in Android?

For this problem you should: Check whether the ...READ MORE

answered Nov 8, 2022 in Android by Edureka
• 12,690 points
1,149 views
0 votes
0 answers

Termux code to install git on termux in Android mobile

$ pkg install github Says: Reading state information... Done E: ...READ MORE

Nov 8, 2022 in Android by Edureka
• 13,620 points
1,881 views
0 votes
0 answers

How to keep marker on road? Google Maps Android

I'm working on an app that displays ...READ MORE

Nov 9, 2022 in Android by Edureka
• 12,690 points
204 views
0 votes
2 answers

How can I inspect element in an Android browser?

On Android smartphones, there are various ways ...READ MORE

answered Nov 15, 2022 in Android by Edureka
• 13,620 points
544 views
0 votes
1 answer

Open Instagram user profile on android

To open instagram app- String scheme = "http://instagram.com/_u/USER"; String path ...READ MORE

answered May 31, 2022 in Others by nisha
• 2,210 points
1,477 views
–2 votes
0 answers

Android Webiew does not load indexed Sdcard (file://sdcard)

When attempting to use mobile browsers to ...READ MORE

Nov 8, 2022 in Android by Edureka
• 13,620 points
1 flag 23,375 views
0 votes
1 answer

Running docker on Android

According to the documentation, the Android kernel is ...READ MORE

answered Aug 1, 2018 in Docker by Kalgi
• 52,360 points
3,367 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP