Thursday, 26 September 2013

Unicode support for android - How to identify fontavailable on particular device

Unicode support for android - How to identify fontavailable on particular
device

We looked at various threads on stackoverflow, so do understand limitation
of some fonts on lower android version.
Is there way to identify whether particular device has unicode font
available ( e.g. Hindi, Chinese, etc )?
If we get to know which fonts are available then we will display unicode
support only on those phone..
So what we want to achieve is method something like
isUnicodeAvailable(fontname/FontType)
Settings page
Some Method (){
if ( **isUnicodeAvailable(FontName)** ) {
//Show text with unicode
}else{
//Show normal text
}
}

No comments:

Post a Comment