codebe / indic-text-renderer

Automatically exported from code.google.com/p/indic-text-renderer
Other
0 stars 0 forks source link

How to optimize indic-text-renderer so that text rendering of long text would be relatively faster #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
 Right now ,EditIndicText is able to display long text,but rendering is relatively slow compared to native languages font displayed by Jelly Bean devices. So far as discussed on this issue 

http://code.google.com/p/indic-text-renderer/issues/detail?can=2&start=0&num=100
&q=&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&groupby=
&sort=&id=4

rgubbi69@gmail.com has given out following logic
1. Currently row and ret form 2D array from bitmap->buffer which is 1D array. 
We can instead pass 1D array directly and handle the same in the drawGlyph 
function in EditIndicText.java.

2. One can completely avoid going from C to Java as the drawGlyph eventually 
makes another native call. If you are adventurous, you can give it a shot.

which I will try it out.And to those who have already implemented this 
wonderful library,I humbly request you to provide some feedback on making 
rendering fast.

If we are able to make rendering relatively fast,then this library makes all 
the Android device user happy to read contents on their native 
language.Further, economical Android devices are widely used by lot of people 
and they prefer to see content like news,apps on their native languages.So it 
would be great for all of us developer to bring smile to their faces via this 
library 

Original issue reported on code.google.com by sant...@braindigit.com on 28 Jan 2013 at 8:48