Hi Amit,
Did you get any solution to your problem, as i am also trying
to use hindi ttf file but facing same problem. Can you help me out, if
you got any solution to your issue?
Thanks in advance
--Naved Ahmad
On May 26, 12:31 pm, 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.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---