I would like to add complex layout support for android (Specially in Sinhala). I need to know what APIs I should use for this and, If I'm going to use a layout engine what do think is most suitable?
Also can some one explain the steps of text rendering involved in Android. I checked the Android source but I could not get a clear idea about the steps involved.
I found that complex text rendering is still not supported in Android, according to [1] there there is no open type layout engine in Android. Then I found that you have no plan to add this as a part of Skia API [2], but to add that as a port to skia [3].
And you have mentioned that you are not using HarfBuzz and you prefer ICU or Pango over HarfBuzz [4]. You have also mentioned that you are using ICU for chromium, but I found that you are now using HarfBuzz in Chrome for Linux.
> I would like to add complex layout support for android (Specially in > Sinhala). > I need to know what APIs I should use for this and, If I'm going to > use a > layout engine what do think is most suitable?
> Also can some one explain the steps of > text rendering involved in Android. I checked the Android source but I > could not > get a clear idea about the steps involved.
> I found that complex text rendering is still not supported in > Android, > according to [1] there there is no open type layout engine in > Android. > Then I found that you have no plan to add this as a part of Skia API > [2], > but to add that as a port to skia [3].
> And you have mentioned that you are not using HarfBuzz > and you prefer ICU or Pango over HarfBuzz [4]. > You have also mentioned that you are using ICU for chromium, > but I found that you are now using HarfBuzz in Chrome for Linux.
> -- > You received this message because you are subscribed to the Google Groups > "android-platform" group. > To post to this group, send email to android-platform@googlegroups.com. > To unsubscribe from this group, send email to > android-platform+unsubscribe@googlegroups.com<android-platform%2Bunsubscrib e@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/android-platform?hl=en.
-- Romain Guy Android framework engineer romain...@android.com
Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them
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.
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.
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:
> 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.
> 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.
> 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:
> 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.
> > 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.
> > 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:
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:
> > 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.
> > > 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.
> > > 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:
If Honeycomb is using the old Harfbuzz, then please consider disabling
the Myanmar shaper in Harfbuzz, since it breaks modern Myanmar Unicode
fonts compliant with Unicode 5.1 and above. Fonts like Myanmar3 and
Padauk currently use just the default OpenType features and don't
require a specific shaper. Please see https://bugs.freedesktop.org/show_bug.cgi?id=31003 for details.
Keith
> I would like to add complex layout support for android (Specially in
> Sinhala).
> I need to know what APIs I should use for this and, If I'm going to
> use a
> layout engine what do think is most suitable?
> Also can some one explain the steps of
> text rendering involved in Android. I checked the Android source but I
> could not
> get a clear idea about the steps involved.
> I found that complex text rendering is still not supported in
> Android,
> according to [1] there there is no open type layout engine in
> Android.
> Then I found that you have no plan to add this as a part of Skia API
> [2],
> but to add that as a port to skia [3].
> And you have mentioned that you are not using HarfBuzz
> and you prefer ICU or Pango over HarfBuzz [4].
> You have also mentioned that you are using ICU for chromium,
> but I found that you are now using HarfBuzz in Chrome for Linux.
I am currently working on a project to build a default Burmese android keyboard and add burmese to the locale also... i have already added the locale, but i have some issues with the input method keyboard... after using decimal code points still the font are not seen on the screen...All i get is white space...do you have any idea how i can go about it
On Monday, January 10, 2011 6:57:36 PM UTC+5:30, Akila Wajirasena wrote:
> Hi,
> I would like to add complex layout support for android (Specially in > Sinhala). > I need to know what APIs I should use for this and, If I'm going to > use a > layout engine what do think is most suitable?
> Also can some one explain the steps of > text rendering involved in Android. I checked the Android source but I > could not > get a clear idea about the steps involved.
> I found that complex text rendering is still not supported in > Android, > according to [1] there there is no open type layout engine in > Android. > Then I found that you have no plan to add this as a part of Skia API > [2], > but to add that as a port to skia [3].
> And you have mentioned that you are not using HarfBuzz > and you prefer ICU or Pango over HarfBuzz [4]. > You have also mentioned that you are using ICU for chromium, > but I found that you are now using HarfBuzz in Chrome for Linux.
On Tue, May 8, 2012 at 12:21 AM, Ruchi Shah <ru...@mofirst.com> wrote:
> I am currently working on a project to build a default Burmese android
> keyboard and add burmese to the locale also...
> i have already added the locale, but i have some issues with the input
> method keyboard...
> after using decimal code points still the font are not seen on the
> screen...All i get is white space...do you have any idea how i can go about
> it
> On Monday, January 10, 2011 6:57:36 PM UTC+5:30, Akila Wajirasena wrote:
>> Hi,
>> I would like to add complex layout support for android (Specially in
>> Sinhala).
>> I need to know what APIs I should use for this and, If I'm going to
>> use a
>> layout engine what do think is most suitable?
>> Also can some one explain the steps of
>> text rendering involved in Android. I checked the Android source but I
>> could not
>> get a clear idea about the steps involved.
>> I found that complex text rendering is still not supported in
>> Android,
>> according to [1] there there is no open type layout engine in
>> Android.
>> Then I found that you have no plan to add this as a part of Skia API
>> [2],
>> but to add that as a port to skia [3].
>> And you have mentioned that you are not using HarfBuzz
>> and you prefer ICU or Pango over HarfBuzz [4].
>> You have also mentioned that you are using ICU for chromium,
>> but I found that you are now using HarfBuzz in Chrome for Linux.
>> --
> You received this message because you are subscribed to the Google Groups
> "android-platform" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-platform/-/noW4Qp-rr-oJ.
> To post to this group, send email to android-platform@googlegroups.com.
> To unsubscribe from this group, send email to
> android-platform+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/android-platform?hl=en.
-- Romain Guy
Android framework engineer
romain...@android.com
Hi, I just wonder that how could we know that which android version use Harbuzz and ICU. If there is official site state that, please recommend because I am very new to android.
On Tuesday, May 8, 2012 11:27:36 PM UTC+7, Romain Guy (Google) wrote:
> Android 4.0 adds better support for complex script and the J release will > further improve on it. We are now using a combination of ICU and Harbuzz.
> On Tue, May 8, 2012 at 12:21 AM, Ruchi Shah <ru...@mofirst.com<javascript:> > > wrote:
>> I am currently working on a project to build a default Burmese android >> keyboard and add burmese to the locale also... >> i have already added the locale, but i have some issues with the input >> method keyboard... >> after using decimal code points still the font are not seen on the >> screen...All i get is white space...do you have any idea how i can go about >> it
>> On Monday, January 10, 2011 6:57:36 PM UTC+5:30, Akila Wajirasena wrote:
>>> Hi,
>>> I would like to add complex layout support for android (Specially in >>> Sinhala). >>> I need to know what APIs I should use for this and, If I'm going to >>> use a >>> layout engine what do think is most suitable?
>>> Also can some one explain the steps of >>> text rendering involved in Android. I checked the Android source but I >>> could not >>> get a clear idea about the steps involved.
>>> I found that complex text rendering is still not supported in >>> Android, >>> according to [1] there there is no open type layout engine in >>> Android. >>> Then I found that you have no plan to add this as a part of Skia API >>> [2], >>> but to add that as a port to skia [3].
>>> And you have mentioned that you are not using HarfBuzz >>> and you prefer ICU or Pango over HarfBuzz [4]. >>> You have also mentioned that you are using ICU for chromium, >>> but I found that you are now using HarfBuzz in Chrome for Linux.
>>> -- >> You received this message because you are subscribed to the Google Groups >> "android-platform" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/android-platform/-/noW4Qp-rr-oJ. >> To post to this group, send email to android-...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> android-platfo...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/android-platform?hl=en.