{"action":"created","issue":{"url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/250","repository_url":"https://api.github.com/repos/chrisjenx/Calligraphy","labels_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/250/comments","events_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/250/events","html_url":"https://github.com/chrisjenx/Calligraphy/issues/250","id":134304892,"number":250,"title":"My font is set only the first time i run the app","user":{"login":"candeiasdan","id":7925247,"avatar_url":"https://avatars.githubusercontent.com/u/7925247?v=3","gravatar_id":"","url":"https://api.github.com/users/candeiasdan","html_url":"https://github.com/candeiasdan","followers_url":"https://api.github.com/users/candeiasdan/followers","following_url":"https://api.github.com/users/candeiasdan/following{/other_user}","gists_url":"https://api.github.com/users/candeiasdan/gists{/gist_id}","starred_url":"https://api.github.com/users/candeiasdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/candeiasdan/subscriptions","organizations_url":"https://api.github.com/users/candeiasdan/orgs","repos_url":"https://api.github.com/users/candeiasdan/repos","events_url":"https://api.github.com/users/candeiasdan/events{/privacy}","received_events_url":"https://api.github.com/users/candeiasdan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-17T15:08:20Z","updated_at":"2016-02-18T09:54:50Z","closed_at":null,"body":"If the app runs for the first time (after install) i can see my custom font. If now I stop the app and open it again the font is not being set.\r\n\r\non my BaseApplication class i have __onCreate()__:\r\n\r\n```\r\n    CalligraphyConfig.initDefault(new CalligraphyConfig.Builder()\r\n                            .setDefaultFontPath(\"fonts/CustomFont.ttf\")\r\n                            .setFontAttrId(R.attr.fontPath)\r\n                            .build());\r\n```\r\n\r\nMainActivity:\r\n```\r\n    @Override\r\n     protected void attachBaseContext(Context newBase) {\r\n        super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase));\r\n     }\r\n```\r\n\r\nI have 3 different fonts inside my app. Whenever i need to use some specific font i do:\r\n```\r\n<TextView\r\n        android:id=\"@+id/txtview\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:text=\"A\"\r\n        android:textAllCaps=\"true\"\r\n        android:textColor=\"@color/black\"\r\n        fontPath=\"fonts/SourceSansPro-Light.ttf\"\r\n        />\r\n```\r\n\r\nAm i missing something? Debugging the app, every time i open the app it passes through _onCreate()_ (BaseApplication class), _attachBaseContext_. What can be wrong here?"},"comment":{"url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/comments/185633503","html_url":"https://github.com/chrisjenx/Calligraphy/issues/250#issuecomment-185633503","issue_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/250","id":185633503,"user":{"login":"chrisjenx","id":1167793,"avatar_url":"https://avatars.githubusercontent.com/u/1167793?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisjenx","html_url":"https://github.com/chrisjenx","followers_url":"https://api.github.com/users/chrisjenx/followers","following_url":"https://api.github.com/users/chrisjenx/following{/other_user}","gists_url":"https://api.github.com/users/chrisjenx/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisjenx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisjenx/subscriptions","organizations_url":"https://api.github.com/users/chrisjenx/orgs","repos_url":"https://api.github.com/users/chrisjenx/repos","events_url":"https://api.github.com/users/chrisjenx/events{/privacy}","received_events_url":"https://api.github.com/users/chrisjenx/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T09:54:50Z","updated_at":"2016-02-18T09:54:50Z","body":"OK, Are you able to reproduce the issue in the sample app? I'm wondering if it's either the font or another library? Also are you testing on Android 5.0?"}}