Hello,

As I know, android supports standard true-type fonts and
we can use custom TTF fonts using by createFromAsset() method.

Some TTF fonts of WINDOWS works well, but some TTF fonts don't work.

I put TTF font("wingding.ttf") into /assets/fonts/ directory.
The "wingding.ttf" is symbol font of WINDOWS. Symbol NOT displayed.

What's the problem ?

Pls let me know whether font size is problem. What else ?

Here is my code.
-----------------------------------------------------
TextView tv = (TextView) findViewById(R.id.TextView01);
Typeface mTypeface = Typeface.createFromAsset(getAssets(), "fonts/
wingding.ttf");
tv.setTypeface(mTypeface);
tv.setText("123456789ABCDEFGabcdefg");

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to