I have used TextPaint in the past and have not run into this problem.  The
only major differences I see between your code and mine is that I am not
specifying a font, and I am setting the stroke width to a value of 1.

What happens if you use the default font and/or specify a stroke width?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Apr 27, 2012 at 1:56 AM, CC <[email protected]> wrote:

> Hi,
>
> I am not sure if this topic has been covered before since I was unable
> to find it in search. I am using the following code to populate text
> on screen. But the text is coming blurred instead of crisp (as it
> comes with textview). What else do I need to do?
>
>
>                        textpaint.setAntiAlias(true);
>                        textpaint.setStyle(Style.FILL);
>                        textpaint.setColor(Color.DKGRAY);
>                        textpaint.setTypeface(font);
>                        textpaint.setTextSize(fontsize);
>                        textpaint.setTextAlign(Paint.Align.LEFT);
>
> Thanks,
>
> --
> 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

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

Reply via email to