[Q] Indic languages on Android browser (Gujarati) improper rendering - Android Q&A, Help & Troubleshooting

I have a website specifically for viewing on Android devices, I am using Gujarati languages and i have a big problem rendering the Gujarati Fonts properly, I atleast want a workaround to get the Gujarati fonts Working properly which is by default not supported on any Android versions. And so i did,
The Work around:
- Rooting the phone
- Finding the correct unicode font for Gujarati language
- Replace the existing DroidSansFallback.ttf in System/fonts with the Gujarati Font (with some extra changes in fontsfallback.xml in system/etc folder for ICS)
This Helped me to atlest view Gujarati texts, but not correct rendering.
Two Problems:
1) Problem of Half forms, the half form letters are not rendering properly as they are suppose to combine but they dont,
If you refer to this faq on unicode.org, it clearly defines how it should render,I have also used the mentioned "Zero Width Joiner" by using html codes for every letter using unicodeLookup but it has no effect.
For example:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
+
+
should be
But it is rendered as
Anyways This problem is not primary as it is improper but still not incorrect.
2) This rendering problem makes the texts print incorrectly, See the two images below, First one is correctly render as visible on PC and second on is a screenshot from Android native browser
the problem marked as 1 are fist problem and the one marked as 2 are second probl you goto Devanagari - Unicode Consortium you will get a pdf refering to this problem (just goto "Figure 9-8. Rendering Order in Devanagari") which clearly explains the method to render the scripts correctly. It seems what ever android uses to render the scripts is not supported for such languages, if there is any change that can be made to Android OS to render the fonts in correct order, please help.
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 !!

Use Firefox with Gujarati addon
Use Firefox for android and get addon at addons.mozilla.org/en-us/android/addon/gujarati-fonts-package. Now you can view all webpages in Gujarati fonts without any complex procedure or root.

Related

[MORTSCRIPT] Device Installer: little autoinsstaller for software, files & settings

[MORTSCRIPT] Device Installer: little autoinsstaller for software, files & settings
Hi all,
i want to share a little tool i made almost one or two years ago. It has the fancy and glittering name "Device Installer" and is used to takeover the recurring part of installing preferred software, copy files and configuring settings after every rom-flash or hard-reset of your mobile.
It has just a trickle of functionsthat other solutions like sahimi etc offer, but its small and does the job.
You can do the following things:
install software in three stages
- First stage for software that can't run completely silent and need some sort of confirmation like perhaps Resco Explorer and MortPlayer use for asking for a Language.
- Second stage is for software that can run silent, that should be most of the programs.
- And at least the third stage is for plugins and other tools that needs to be installed after other ones (for example.Plugins for Resco has to be installed after Reso itelf)
copy files and folders
useful for adding settings files, ringtones, profiles, bookmarks etc in the corresponding directories
import registry keys
i use to export all my settings in single registry keys, to have the ability to import a single one when something has changed my system. so i have a bunch of tweaks and device installer imports every .reg-file that is in the registryfolder.
Detailed description of the functions is written in the readme.txt in the ZIP-file
Here are some screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Plz let me know if you use it, i would be glad
Best regards, Chris
Looks really interesting... will try it (beside sashami) on my next flash orgy
Very interesting, because i am searching for a good running app. MortScript is one of my fav apps. I will give it a try...
Sounds good, but just wondering what this can do above and beyond Sashimi ?

[all] UA_Change : quickly and easily change your user agent for webbrowsing

Well... some times ago I have made a little free application which allow you to change the defined user agent for your mobile.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Source : http://www.i900playeraddict.com/corwin.php?soft=evb_ua_change
Here is it...
Description:
Change simply, quickly and very easily UserAgent Internet device, either Pocket Internet Explorer, Opera 95 and 9.7, MMS, ArcoSoft Streaming Media Player and Windows Mobile. You have the possibility to modify the urge data, make changes to one program and return to the data base. Note that these data bases are those for i900. This software normally runs on all versions of Windows Mobile 6.x and with a display of at least 240x400. It has been tested running on my i900.
Version & Date: 1.3 / 19.04.2010
Requirements: Windows Mobile 6.x, screen 240 * 240pixels (optimized for i900 with 240 * 400, but should be ok on others resolutions too).
You will find a folder named "UA Change" and in this the link to the software and a link to the help file.
This version support changing User Agents for :
Opera 9.5
Opera 9.7
Opera 10
MMS
ArcSoft Streaming
and for userdefining.
More infos on the embedded help file or in the .pdf file attached (same one)
Note that this version is in french and default options are for sgh-i900 (default useragent). I'm planning to make a new version soon, with more user agents and in english.
Note also that this software need eVB runtimes, which are normally embedded in the cab file.
ps: i do not have posted it before here, because it's in french
very nice app bro.
pls i cant scroll down to effect my user agent changes
can this be ported to a 320 X 320 resolution for sgh-i780 on heinekens 6.5.3 rom?
where the english vers?

[eVB] [all] FootCoach : listing of training exercises for soccer coach

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Description:
You are a football coach? You do not always have the opportunity or desire to have a comprehensive workbook with you? So, since you have a cell phone on you, be always at your hand a complete list, with pictures and details of possible exercises to achieve ... and even prepare for your sessions!
The interface is very intuitive, quick to take charge. To view details or make a double-tap on the exercise you want, either click on the icon with arrows rotating.
To change the language, simply hit the planet. Available languages are french and english.
You can list, sort the various exercises, then, for each, see the details, pictures, equipment needed, duration, objectives, ...
Version 0.5 comes with 21 exercises pictured and detailed, from the websites of football. Thank you to them for having made available.
The various data on the exercises (as ,...) are in the file exos.xml which is in the directory "datas of the application, and images mentioned. You can easily and readily, add, delete, correct, complete, ... the list of exercises and pictures. Supported formats are -jpg, .gif and .bmp
You can also change the language between English and French; Note however that this does not change the language for exercises, you have to have them in the language you want.
(sorry, google translation)
Configuration / Compatibility:
When first installed, you may need to have to restart your phone.
Installs without problem on the SD card or the secondary memory.
Language: English, French
Version: 0.5
Publisher / Creator: corwin
Resolution: certainly from WQVGA (240 * 400) to... everyelse !
Operating System of Mobile: Windows Mobile 6.x
Pictures
WebSite : http://www.i900playeraddict.com/corwin.php?soft=evb_footcoach and http://www.i900playeraddict.com/i900_forums/viewtopic.php?f=51&t=3068
Disclaimer
- thanks for the icons I used, I like them soooo much! So tx to RoostyCity
- thanks to my beta testeurs, Route66 and MondeoST
Following versions
- executable to edit the exos.xml file directly from computer. Already a great THANK to deedee for what she do (well... so the whole editor !)
- iPhone version
- Androïd version

Veiwing Sinhala webpages on Neo V

Apart from me I know there are not much Sri Lankans online here in XDA forum,but hope this will be useful to someone who is searching how to do this
Today I'm explaining a simple trick to add Sinhala,my native language to phone & with this now we can view websites with Sinhala language on our phones.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Phone must be rooted.Copy this .ttf file in rar to system\fonts, replace with Root Explorer & reboot.Now pages with Sinhala is readable
Credits go to Kalinga for creating this font
While the method you've described will work, it will wipe out support for other glyphs in Droid Sans Fallback.
Either adding the glyphs to the default font (using a font editor to add the missing glyphs) or using a FULL copy of Arial Unicode MS (over 22 MB) would be better, which should be relatively simple to obtain.
You never know what languages other Sri Lankans might need to view!
esist said:
While the method you've described will work, it will wipe out support for other glyphs in Droid Sans Fallback.
Either adding the glyphs to the default font (using a font editor to add the missing glyphs) or using a FULL copy of Arial Unicode MS (over 22 MB) would be better, which should be relatively simple to obtain.
You never know what languages other Sri Lankans might need to view!
Click to expand...
Click to collapse
Here main languages spoken are Sinhala,English & tamil.All works fine so I don't think it will be a big problem.
Hey there, if this thread is live pls let me know is there any updated file after the first release. thing is, qhen apply this the space displays as a box when a call comes.
Sent from my LT28i using Tapatalk 2
fernoct said:
Hey there, if this thread is live pls let me know is there any updated file after the first release. thing is, qhen apply this the space displays as a box when a call comes.
Sent from my LT28i using Tapatalk 2
Click to expand...
Click to collapse
The chances are remote however you could pm ThilinaC for further assistance
Sent from my GT-P3110 using xda app-developers app
I already did, seems hez no longer interested bro.
Sent from my LT28i using Tapatalk 2

[Q] Android has a problem with Arabic Auto-Complete feature

Dear All
- Device : Samsung Galaxy S3 GT-I9300
- Tested Rom : JellyBean
I9300XXDLJ4_I9300OXADLJ4 - > UK
Rom's is authorized by KIES
The problem :
When writing in Arabic in a place where there Auto-Complete feature
(Address Book - Google Now .. etc)
System will ( color or BOLD ) the Matched characters corresponding to the Searched character which will lead to cut (colorful / Bold ) characters of the ( name / Word).
I did attached a picture taken from "JellyBean" shewing the problem
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-------------------
And i did take a picture from a ICS(I9300XXBLFB_I9300OJVBLF3_I9300XXLFB) show that the problem does not exist.
is there a way to disable this by hacking any file in android system!
mybeshoo said:
Dear All
- Device : Samsung Galaxy S3 GT-I9300
- Tested Rom : JellyBean
I9300XXDLJ4_I9300OXADLJ4 - > UK
Rom's is authorized by KIES
The problem :
When writing in Arabic in a place where there Auto-Complete feature
(Address Book - Google Now .. etc)
System will ( color or BOLD ) the Matched characters corresponding to the Searched character which will lead to cut (colorful / Bold ) characters of the ( name / Word).
I did attached a picture taken from "JellyBean" shewing the problem
-------------------
And i did take a picture from a ICS(I9300XXBLFB_I9300OJVBLF3_I9300XXLFB) show that the problem does not exist.
is there a way to disable this by hacking any file in android system!
Click to expand...
Click to collapse
1. Please post in the right section which is: Android Q&A
2. Yes android has issues with Arabic auto complete, I have the same thing on my Sony Xperia P (and had it on my Sony Ericsson Xperia Arc S)
3. إدارة شبكة محشش, انا بحي الرواء تبعك
Thread cleaned

Categories

Resources