{"action":"created","issue":{"url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/181","repository_url":"https://api.github.com/repos/chrisjenx/Calligraphy","labels_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/181/comments","events_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/181/events","html_url":"https://github.com/chrisjenx/Calligraphy/issues/181","id":86208686,"number":181,"title":"Can't change Toolbar's font from default.","user":{"login":"Jeevuz","id":1622073,"avatar_url":"https://avatars.githubusercontent.com/u/1622073?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeevuz","html_url":"https://github.com/Jeevuz","followers_url":"https://api.github.com/users/Jeevuz/followers","following_url":"https://api.github.com/users/Jeevuz/following{/other_user}","gists_url":"https://api.github.com/users/Jeevuz/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeevuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeevuz/subscriptions","organizations_url":"https://api.github.com/users/Jeevuz/orgs","repos_url":"https://api.github.com/users/Jeevuz/repos","events_url":"https://api.github.com/users/Jeevuz/events{/privacy}","received_events_url":"https://api.github.com/users/Jeevuz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":48,"created_at":"2015-06-08T14:53:53Z","updated_at":"2016-03-17T09:02:36Z","closed_at":"2015-07-07T13:06:56Z","body":"Hi! I have a problem with changing the Toolbar's title font. \r\n\r\nIt successfully gets the default font set in Application, but no way to configure it separately. \r\nI tried all solutions, fontPath through textAppearance using Toolbar's setTitleTextAppearance() (and its analog from xml), fontPath in style and use it as toolbar's style, changing the toolbar theme.\r\nNothing helps... \r\nThe same is with new design support library NavigationView. I have no idea how to change the font from default one for items.\r\n\r\nDo you have any ideas why it is so?"},"comment":{"url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/comments/197774076","html_url":"https://github.com/chrisjenx/Calligraphy/issues/181#issuecomment-197774076","issue_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/181","id":197774076,"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-03-17T09:02:36Z","updated_at":"2016-03-17T09:02:36Z","body":"Try using ttf, otfs are notoriously buggy.\n\nYou also can't set more than one default typeface.\n\nOn Thu, 17 Mar 2016, 08:43 shankarimoorthy, <notifications@github.com>\nwrote:\n\n> I have one doubt...i used five fontpath for edittext and textview on xml\n> files...but it wont changed,how to give more than one font path in \"\n> CalligraphyConfig\"....i used this code but i cant get the ans\n>\n> @Override <https://github.com/Override>\n> public void onCreate() {\n> super.onCreate();\n> CalligraphyConfig.initDefault(new CalligraphyConfig.Builder()\n> //.setDefaultFontPath(\"fonts/HelvLight-regular.ttf\")\n> .setDefaultFontPath(\"fonts/HelveticaNeue-Light.otf\")\n> //.setDefaultFontPath(\"fonts/HelveticaNeue-Medium.otf\")\n> //.setDefaultFontPath(\"fonts/HelveticaNeueBold.ttf\")\n> //.setDefaultFontPath(\"fonts/MyriadPro-Regular.otf\")\n> .setFontAttrId(R.attr.fontPath)\n> .build()\n> );\n>\n> xml file:\n>\n> android:id=\"@+id/editTextPassword\"\n> fontPath=\"fonts/HelveticaNeue-Light.otf\"\n> android:layout_width=\"fill_parent\"\n> android:layout_height=\"40dp\"\n> android:layout_marginLeft=\"20dp\"\n> android:layout_marginRight=\"20dp\"\n> android:layout_marginTop=\"8dp\"\n> android:background=\"@color/white\"\n> android:hint=\"@string/hint_password_login\"\n> android:inputType=\"textPassword\"\n> android:padding=\"8dp\"\n> android:textColor=\"@color/app_hint_text_color\"\n> android:textColorHint=\"@color/app_hint_text_color\"\n> android:textCursorDrawable=\"@drawable/cursor_drawable\" />\n>\n>     <Button\n>         android:id=\"@+id/button_login\"\n>         fontPath=\"fonts/HelveticaNeue-Medium.otf\"\n>         android:layout_width=\"fill_parent\"\n>         android:layout_height=\"wrap_content\"\n>         android:layout_marginLeft=\"25dp\"\n>         android:layout_marginRight=\"25dp\"\n>         android:layout_marginTop=\"25dp\"\n>         android:background=\"@color/app_theme_color\"\n>         android:text=\"LOGIN\"\n>         android:textColor=\"@color/white\" />\n>\n>     <TextView\n>         android:id=\"@+id/txt_forgot_password\"\n>         fontPath=\"fonts/HelveticaNeue-Light.otf\"\n>         android:layout_width=\"fill_parent\"\n>         android:layout_height=\"wrap_content\"\n>         android:layout_gravity=\"center\"\n>         android:layout_marginBottom=\"10dp\"\n>         android:layout_marginTop=\"10dp\"\n>         android:gravity=\"center\"\n>         android:text=\"Forgot Password?\"\n>         android:textColor=\"@color/app_theme_text_color\"\n>         android:textSize=\"14sp\" />\n> }\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/chrisjenx/Calligraphy/issues/181#issuecomment-197766408>\n>\n"}}