Font Rendering anb Layout Processing in Android

306 views
Skip to first unread message

Chamila

unread,
Oct 6, 2010, 3:18:20 AM10/6/10
to android-platform
Hi,

I searched Google for this but turned out empty with every possible
query I could come up with.

I need to know how a piece of text, say a word, is rendered in
Android, from the point it is grabbed from the font file to the point
all the Layout information from the font is taken and processed. Since
RTL languages are now working in Android I suppose the layout engine
(whose name I couldn't find on Google) supports layout processing
information from the OpenType fonts.

Can someone explain the steps involved with text rendering with the
libraries that are involved with them?

Thanks in advance.

sunil agrawal

unread,
Oct 6, 2010, 11:00:55 PM10/6/10
to android-...@googlegroups.com
either you can go to dir "external\freetype" in android source code or look for documentation of freetype open source project at http://www.freetype.org/index2.html 

cheers,
Sunil

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.


Chamila De Alwis

unread,
Oct 7, 2010, 2:11:47 AM10/7/10
to android-...@googlegroups.com
Hi,

Thanks for the link, but I've read the documentation on Freetype2 and it does not contain any specific details on how layout is done (or I can't find any). The details I want to find out here are related to complex script processing, especially regarding the Indic scripts. 

Is Devanagari correctly rendered in Android? With re-ordering?

Thanks
--
--
Chamila De Alwis
http://chamiladealwis.com

David Turner

unread,
Oct 8, 2010, 3:46:24 AM10/8/10
to android-...@googlegroups.com
On Wed, Oct 6, 2010 at 9:18 AM, Chamila <cs2re...@gmail.com> wrote:
Hi,

I searched Google for this but turned out empty with every possible
query I could come up with.

I need to know how a piece of text, say a word, is rendered in
Android, from the point it is grabbed from the font file to the point
all the Layout information from the font is taken and processed. Since
RTL languages are now working in Android I suppose the layout engine
(whose name I couldn't find on Google) supports layout processing
information from the OpenType fonts.

As far as I know, this is not true (yet), i.e. there is no OpenType Layout engine in Android at the moment.
And RTL languages do not work correctly either.
 
Can someone explain the steps involved with text rendering with the
libraries that are involved with them?

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages