title: Android setTypeface not working correctly
body: <p>i writing simple new application in android and i want to using setTypeface to  Activity widgets.</p>
  
  <p>in this below code It seems thats correct but i get this error in console:</p>
  
  <pre><code>1803-1803/com.example.AndroidMultiPage E/AndroidRuntime﹕ 
       FATAL EXCEPTION: main
      java.lang.RuntimeException: Unable to start activity
      ComponentInfo{com.example.AndroidMultiPage/
      com.example.AndroidMultiPage.MyActivity}: 
      java.lang.RuntimeException: 
  
      native typeface cannot be made
  </code></pre>
  
  <p>Font path: <code>assets/font/BZar.ttf</code></p>
  
  <p>My Simple code:</p>
  
  <pre><code>package com.example.AndroidMultiPage;
  
  import android.app.Activity;
  import android.content.DialogInterface;
  import android.content.Intent;
  import android.graphics.Typeface;
  import android.os.Bundle;
  import android.text.TextUtils;
  import android.view.Menu;
  import android.view.MenuItem;
  import android.view.View;
  import android.widget.Button;
  import android.widget.EditText;
  import android.widget.TextView;
  import android.widget.Toast;
  import org.w3c.dom.Text;
  
  public class MyActivity extends Activity {
      private Button submit;
  
      /**
       * Called when the activity is first created.
       */
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
  
          Typeface face = Typeface.createFromAsset(getAssets(),
                  "font/BZar.ttf");
  
          Button   submit   = (Button)   findViewById(R.id.submitButton);
  
          submit.setTypeface(face);
  
  }
  </code></pre>