I'm trying to find documentation on whether anti-aliasing of text is
enabled by default.

Currently I have multiple lines of text being rendered on different
Views and am seeing varying behaviour depending on the device. I am
not explicitly calling setAntiAlias(true) in the below cases when
using a Paint :
 * On a Samsung Moment, text explicitly rendered with a Paint is not
anti-aliased. Text defined in a layout is not anti-aliased
 * On the Android 2.3 emulator, text explicitly rendered with a Paint
is not anti-aliased. Text defined in a layout is anti-aliased
 * On the Nexus One, text explicitly rendered with a Paint is anti-
aliased. Text defined in a layout is also anti-aliased.

So, it looks like I should call setAntiAlias(true) whenever I want
anti-aliased text.

However, my question
 * Why is the behaviour different for each device?
 * Is there any documentation on the conditions under which text anti-
aliasing is enabled? Or is this left up to the device's
implementation?

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