+ try {\r
+ typeface = Typeface.createFromAsset(getAssets(), fontName);\r
+ } catch (Exception e) {\r
+ Log.w(LOG, "Exception trying to use typeface, using default.", e);\r
+ Toast.makeText(this, getString(R.string.fontFailure, e.getLocalizedMessage()), Toast.LENGTH_LONG).show();\r
+ }\r