I'm developing a music application and I'm trying to import a TTF
musical font... I have try with several fonts and none of them
work.... (I'm adding the font to the assets folder, and the create the
typeset from the assets and apply it to a TextView).

Is there any trick? or limitation in Android to import any true type
font? I test the fonts in a regular PC and I was able to import them
all, but Android does not show the font symbols (in my case it should
show musical staff notations) but the test application I'm running
just shows a regular font (that I guess is the android's default font)

any advice???

I'm pasting my code just in case you can find any mistake

CODE :
 @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);





        Typeface maestro = Typeface.createFromAsset(getAssets(),
"fonts/feta-alphabet11.ttf");
        TextView texto = (TextView) findViewById (R.id.TextView01);
        FileInputStream stream = null;

        texto.setTypeface(maestro);

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