Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Complex Text Rendering in Android
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sandeep sp  
View profile  
 More options Jan 23 2011, 10:14 pm
From: Sandeep sp <sandeep.palaksha...@wipro.com>
Date: Sun, 23 Jan 2011 19:14:53 -0800 (PST)
Local: Sun, Jan 23 2011 10:14 pm
Subject: Re: Complex Text Rendering in Android
Hi Akila,

 I Already followed this method and was able to get the corresponding
glyphs from the font file. But, the font rendering wasn't proper. Is
it anyway we can create our own font file, so that it will resolve all
these issues. (by having an proper indexing).

Regards
Sandeep S.P

On Jan 21, 5:38 pm, Akila Wajirasena <akila.wajiras...@gmail.com>
wrote:

> You can add new fonts to the system by changing
> static const FontInitRec gSystemFonts[] in
> /external/skia/src/ports/SkFontHost_android.cpp

> Then add the font to /frameworks/base/data/fonts/
> and then changing the Android.mk in the same folder to include he
> font.

> I have tried this with Sinhala and it works (only the font without
> proper rending).

> On Jan 20, 8:22 am, Sandeep sp <sandeep.palaksha...@wipro.com> wrote:

> > @Ravi,

> >     we have been working on webkit rendering, if it work's out. Will
> > pass the inputs to group.
> >    http://groups.google.com/group/android-platform/browse_thread/thread/...

> > Regards
> > Sandeep S.P

> > On Jan 19, 9:04 pm, Ravi <ravi.chha...@gmail.com> wrote:

> > > Akila,
> > > If you wish to support Sinhalese you should not wait for Android to
> > > officially support. As far are I know Harfbuzz-ng does not support
> > > Indic. It would be a good idea to hook your shaper into Canvas.java.
> > > At least that is what we have done based on what the Arabic world did.

> > > /frameworks/base/graphics/java/android/graphics/Canvas.java

> > > Look at drawText(). Call your shaper there, at least that is what we
> > > have done for Burmese(Myanmar). I am positive that Harfbuzz-ng is not
> > > going to support us this year. For the shaper you can check out
> > > ArabicReShaper.

> > >https://github.com/agawish/Better-Arabic-Reshaper

> > > Apart from drawText() we still don't' know where else we should hook
> > > our shaper, as shaping is not working on Notification Bar, and in some
> > > of List Items in settings. We haven't started shaping for webkit yet
> > > either. But it should be similar. If we get this working I can move to
> > > Hindi and Punjabi as these are the two languages I understand. Also I
> > > am not sure if Harfbuzz-ng will be back ported to 2.3 and earlier
> > > releases. If it's not going to be, than working on the shaper now is a
> > > good idea.
> > > Regards,
> > > Ravi
> > > On Jan 19, 11:13 am, Ravi <ravi.chha...@gmail.com> wrote:

> > > > Romain Guy,
> > > > I assume this would be old Harfbuzz rather than Harfbuzz-ng as only
> > > > the old one can render a far greater number of languages.

> > > > On Jan 11, 7:41 pm, Akila Wajirasena <akila.wajiras...@gmail.com>
> > > > wrote:

> > > > > Thanks- Hide quoted text -

> > > - Show quoted text -- Hide quoted text -

> - Show quoted text -


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.