Android just uses FreeType for text rendering, so if it is a valid TTF font it should render fine. We do not support right to left text, but I don't think this would have anything to do with individual characters not being displayed. Make sure you are providing the correct UTF-16 characters for your font.
On Tue, May 26, 2009 at 12:31 AM, amit mishra <[email protected]>wrote: > Hi Dianne > > Thanks a lot for the quick reply. > > You mean to say that I have to extend the TextView class and override the > OnDraw method. right? > > Doing this, i'll loose the actual look and feel of android widgets, which i > don't want. > > As I know, Android can recognize the TTF fonts. I have supplied the TTF > font for Hindi but currently its is printing empty boxes for Hindi > characters. > > I there a way i can provide the TTF font indices to android so that it can > understand the Indian language characters and render it using my fonts. > > Thanks in advance. > > Regards > Amit > > > On Tue, May 26, 2009 at 12:18 PM, Dianne Hackborn <[email protected]>wrote: > >> Not in the SDK -- you'd need to do all of your own drawing for TextView >> (which is basically the thing that draws text wherever there is a widget) >> wherever you use it. >> >> >> On Mon, May 25, 2009 at 11:39 PM, amit mishra <[email protected]>wrote: >> >>> Hi All, >>> >>> I have a text rendering engine that uses bitmap/ TTF fonts and can render >>> the unicode strings(Including Indian Languages). >>> >>> I want to integrate my rendering engine(Rasterizer) so that the android >>> UI components uses my rendering engine instead of default for drawing text. >>> >>> How can i achieve this? >>> >>> Please help. >>> >>> Regards >>> >>> Amit Mishra >>> >>> >>> >>> >> >> >> -- >> Dianne Hackborn >> Android framework engineer >> [email protected] >> >> Note: please don't send private questions to me, as I don't have time to >> provide private support, and so won't reply to such e-mails. All such >> questions should be posted on public forums, where I and others can see and >> answer them. >> >> >> >> > > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

