[android-developers] Using a symbol font
I have seen that it is possible to use custom fonts within our Android apps.
I am starting to build an app for tablets and need to use a specific symbol font.
I place it in a "font" directory under "assets" and load it via the Typeface.createFromAsset method.
I get back a Typeface object and assign it to my Paint object and then paint it out onto the canvas.
However, instead of getting the symbols, I get normal text.
Is there a special step necessary to get symbol fonts to output correctly ?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home