title: How can i save font typeface in SharedPreferences?
body: <p>I am trying to save font typeface in SharedPreferences. But i unable to achieve it, please help me.Thanks
       Here is my code.</p>
  
  <p>to read..</p>
  
  <pre><code>SharedPreferences fontSP = getActivity().getSharedPreferences("PREFSFONT", Context.MODE_WORLD_READABLE);
  
  
  m_txTitle.setTypeface(fontSP.getString("fontValue", SettingsABC.getTypeface(fontStyle));
  </code></pre>
  
  <p>to save..</p>
  
  <pre><code>fontStyle = Typeface.createFromAsset(getAssets(), "caligula.ttf");
                      SharedPreferences fontSP = getSharedPreferences("PREFSFONT", MODE_WORLD_READABLE);
                      SharedPreferences.Editor bgEditor = fontSP.edit();
                      bgEditor.putString("fontValue", fontStyle.toString());
                      bgEditor.commit();
  </code></pre>