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
Complex Text Rendering in Android
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Akila Wajirasena  
View profile  
 More options Jan 10 2011, 8:27 am
From: Akila Wajirasena <akila.wajiras...@gmail.com>
Date: Mon, 10 Jan 2011 05:27:36 -0800 (PST)
Local: Mon, Jan 10 2011 8:27 am
Subject: Complex Text Rendering in Android
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.

[1] http://groups.google.com/group/android-platform/msg/0902020e94cdca43?...
[2] http://code.google.com/p/skia/issues/detail?id=58
[3] http://code.google.com/p/skia/wiki/FAQ
[4] http://groups.google.com/group/skia-discuss/msg/098ae57c6ba38409


 
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.
Romain Guy  
View profile  
 More options Jan 10 2011, 11:58 am
From: Romain Guy <romain...@android.com>
Date: Mon, 10 Jan 2011 08:58:15 -0800
Local: Mon, Jan 10 2011 11:58 am
Subject: Re: Complex Text Rendering in Android

Hi,

HarfBuzz is now used in Honeycomb.

On Mon, Jan 10, 2011 at 5:27 AM, Akila Wajirasena <

--
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


 
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.
Akila Wajirasena  
View profile  
 More options Jan 11 2011, 8:41 am
From: Akila Wajirasena <akila.wajiras...@gmail.com>
Date: Tue, 11 Jan 2011 05:41:37 -0800 (PST)
Local: Tues, Jan 11 2011 8:41 am
Subject: Re: Complex Text Rendering in Android
Thanks

 
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.
Ravi  
View profile  
 More options Jan 19 2011, 12:13 am
From: Ravi <ravi.chha...@gmail.com>
Date: Tue, 18 Jan 2011 21:13:00 -0800 (PST)
Subject: Re: Complex Text Rendering in Android
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:


 
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.
Ravi  
View profile  
 More options Jan 19 2011, 11:04 am
From: Ravi <ravi.chha...@gmail.com>
Date: Wed, 19 Jan 2011 08:04:41 -0800 (PST)
Local: Wed, Jan 19 2011 11:04 am
Subject: Re: Complex Text Rendering in Android
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:


 
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.
Sandeep sp  
View profile  
 More options Jan 19 2011, 10:22 pm
From: Sandeep sp <sandeep.palaksha...@wipro.com>
Date: Wed, 19 Jan 2011 19:22:56 -0800 (PST)
Local: Wed, Jan 19 2011 10:22 pm
Subject: Re: Complex Text Rendering in Android
@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:


 
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.
Akila Wajirasena  
View profile  
 More options Jan 21 2011, 7:38 am
From: Akila Wajirasena <akila.wajiras...@gmail.com>
Date: Fri, 21 Jan 2011 04:38:16 -0800 (PST)
Local: Fri, Jan 21 2011 7:38 am
Subject: Re: Complex Text Rendering in Android
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:


 
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.
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 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.
Keith Stribley  
View profile  
 More options Jan 22 2011, 4:22 am
From: Keith Stribley <kstrib...@gmail.com>
Date: Sat, 22 Jan 2011 01:22:45 -0800 (PST)
Local: Sat, Jan 22 2011 4:22 am
Subject: Re: Complex Text Rendering in Android
Romain,

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


 
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.
kariyachan  
View profile  
 More options Jan 31 2011, 9:43 pm
From: kariyachan <sintotp.foresi...@gmail.com>
Date: Mon, 31 Jan 2011 18:43:12 -0800 (PST)
Local: Mon, Jan 31 2011 9:43 pm
Subject: Re: Complex Text Rendering in Android
Hi,

   Thank you for this post .This help me to find how to add new font
to android source.
    one problem remains how to add new Locale to android ??.

    Kindly waiiting for your reply.

Thanks.
Kariya

On Jan 10, 8:27 am, Akila Wajirasena <akila.wajiras...@gmail.com>
wrote:


 
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.
Ruchi Shah  
View profile  
 More options May 8 2012, 3:21 am
From: Ruchi Shah <ru...@mofirst.com>
Date: Tue, 8 May 2012 00:21:02 -0700 (PDT)
Local: Tues, May 8 2012 3:21 am
Subject: Re: Complex Text Rendering in Android

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


 
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.
Romain Guy  
View profile  
 More options May 8 2012, 12:27 pm
From: Romain Guy <romain...@android.com>
Date: Tue, 8 May 2012 09:27:36 -0700
Local: Tues, May 8 2012 12:27 pm
Subject: Re: Complex Text Rendering in Android

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.

--
Romain Guy
Android framework engineer
romain...@android.com

 
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.
vong borey  
View profile  
 More options Dec 23 2012, 8:46 pm
From: vong borey <borey.v...@gmail.com>
Date: Sun, 23 Dec 2012 17:46:46 -0800 (PST)
Local: Sun, Dec 23 2012 8:46 pm
Subject: Re: Complex Text Rendering in Android

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.


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »