{"action":"created","issue":{"url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/281","repository_url":"https://api.github.com/repos/chrisjenx/Calligraphy","labels_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/281/comments","events_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/281/events","html_url":"https://github.com/chrisjenx/Calligraphy/issues/281","id":150961619,"number":281,"title":"Can't create asset from *******","user":{"login":"matthewkrueger","id":6249207,"avatar_url":"https://avatars.githubusercontent.com/u/6249207?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewkrueger","html_url":"https://github.com/matthewkrueger","followers_url":"https://api.github.com/users/matthewkrueger/followers","following_url":"https://api.github.com/users/matthewkrueger/following{/other_user}","gists_url":"https://api.github.com/users/matthewkrueger/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewkrueger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewkrueger/subscriptions","organizations_url":"https://api.github.com/users/matthewkrueger/orgs","repos_url":"https://api.github.com/users/matthewkrueger/repos","events_url":"https://api.github.com/users/matthewkrueger/events{/privacy}","received_events_url":"https://api.github.com/users/matthewkrueger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-25T19:44:16Z","updated_at":"2016-06-25T21:31:43Z","closed_at":null,"body":"Hi - thanks for the great library.  It's working really well - however...\r\n\r\nEvery single time my app starts, I see this exception:\r\n\r\n> 04-25 14:31:40.778 5057-5057/com.mycompany.app W/Calligraphy: Can't create asset from ဒါက သင့် မိုဘိုင်း အကောင့် အတွက်  ကုန်ကျမှု ရှိလာနိုင်သည်။. Make sure you have passed in the correct path and file name.\r\n>                                                                                java.lang.RuntimeException: Font asset not found ဒါက သင့် မိုဘိုင်း အကောင့် အတွက်  ကုန်ကျမှု ရှိလာနိုင်သည်။\r\n>                                                                                    at android.graphics.Typeface.createFromAsset(Typeface.java:190)\r\n>                                                                                    at uk.co.chrisjenx.calligraphy.TypefaceUtils.load(TypefaceUtils.java:35)\r\n>                                                                                    at uk.co.chrisjenx.calligraphy.CalligraphyUtils.applyFontToTextView(CalligraphyUtils.java:114)\r\n>                                                                                    at uk.co.chrisjenx.calligraphy.CalligraphyUtils.applyFontToTextView(CalligraphyUtils.java:143)\r\n>                                                                                    at uk.co.chrisjenx.calligraphy.CalligraphyFactory.onViewCreatedInternal(CalligraphyFactory.java:146)\r\n>                                                                                    at uk.co.chrisjenx.calligraphy.CalligraphyFactory.onViewCreated(CalligraphyFactory.java:114)\r\n>                                                                                    at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$WrapperFactory2.onCreateView(CalligraphyLayoutInflater.java:279)\r\n>                                                                                    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746)\r\n>                                                                                    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)\r\n>                                                                                    at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)\r\n>                                                                                    at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)\r\n>                                                                                    at android.view.LayoutInflater.inflate(LayoutInflater.java:515)\r\n>                                                                                    at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60)\r\n>                                                                                    at android.view.LayoutInflater.inflate(LayoutInflater.java:423)\r\n>                                                                                    at com.mycompany.app.LoginFragment.onCreateView(LoginFragment.java:51)\r\n>                                                                                    at android.app.Fragment.performCreateView(Fragment.java:2220)\r\n>                                                                                    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:973)\r\n>                                                                                    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148)\r\n>                                                                                    at android.app.BackStackRecord.run(BackStackRecord.java:793)\r\n>                                                                                    at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1535)\r\n>                                                                                    at android.app.FragmentController.execPendingActions(FragmentController.java:325)\r\n>                                                                                    at android.app.Activity.performStart(Activity.java:6267)\r\n>                                                                                    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)\r\n>                                                                                    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)\r\n>                                                                                    at android.app.ActivityThread.-wrap11(ActivityThread.java)\r\n>                                                                                    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)\r\n>                                                                                    at android.os.Handler.dispatchMessage(Handler.java:102)\r\n>                                                                                    at android.os.Looper.loop(Looper.java:148)\r\n>                                                                                    at android.app.ActivityThread.main(ActivityThread.java:5417)\r\n>                                                                                    at java.lang.reflect.Method.invoke(Native Method)\r\n>                                                                                    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n>                                                                                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\n\r\nNote that every time the app starts, the random file in a random language is different.  Also, note I am definitely not loading any of these random fonts - only a default ttf that I initialize properly in the Application class as the default font.  I have no clue what \"ဒါက သင့် မိုဘိုင်း အကောင့် အတွက် ကုန်ကျမှု ရှိလာနိုင်သည်။\" is.  And that file name changes frequently.\r\n\r\nWhat's going on here?  The fact that I get a different error every time I run the app is bewildering - the fact that the font files are in languages that I can't even identify, even more so.  Thanks!"},"comment":{"url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/comments/228571499","html_url":"https://github.com/chrisjenx/Calligraphy/issues/281#issuecomment-228571499","issue_url":"https://api.github.com/repos/chrisjenx/Calligraphy/issues/281","id":228571499,"user":{"login":"NeveHanter","id":3267401,"avatar_url":"https://avatars.githubusercontent.com/u/3267401?v=3","gravatar_id":"","url":"https://api.github.com/users/NeveHanter","html_url":"https://github.com/NeveHanter","followers_url":"https://api.github.com/users/NeveHanter/followers","following_url":"https://api.github.com/users/NeveHanter/following{/other_user}","gists_url":"https://api.github.com/users/NeveHanter/gists{/gist_id}","starred_url":"https://api.github.com/users/NeveHanter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeveHanter/subscriptions","organizations_url":"https://api.github.com/users/NeveHanter/orgs","repos_url":"https://api.github.com/users/NeveHanter/repos","events_url":"https://api.github.com/users/NeveHanter/events{/privacy}","received_events_url":"https://api.github.com/users/NeveHanter/received_events","type":"User","site_admin":false},"created_at":"2016-06-25T21:31:43Z","updated_at":"2016-06-25T21:31:43Z","body":"I'm also facing similar problem (I'm using gradle 2.14, latest build tools, targets API 24, and not using multidex at all)\r\n\r\n> 06-25 23:19:43.013 3211-3211/com.example.fonts W/Calligraphy: Can't create asset from Palieskite, kad įves. slaptaž.. Make sure you have passed in the correct path and file name.\r\n                                                             java.lang.RuntimeException: Font asset not found Palieskite, kad įves. slaptaž.\r\n                                                                 at android.graphics.Typeface.createFromAsset(Typeface.java:206)\r\n                                                                 at uk.co.chrisjenx.calligraphy.TypefaceUtils.load(TypefaceUtils.java:35)\r\n                                                                 at uk.co.chrisjenx.calligraphy.CalligraphyUtils.applyFontToTextView(CalligraphyUtils.java:114)\r\n                                                                 at uk.co.chrisjenx.calligraphy.CalligraphyUtils.applyFontToTextView(CalligraphyUtils.java:143)\r\n                                                                 at uk.co.chrisjenx.calligraphy.CalligraphyFactory.onViewCreatedInternal(CalligraphyFactory.java:146)\r\n                                                                 at uk.co.chrisjenx.calligraphy.CalligraphyFactory.onViewCreated(CalligraphyFactory.java:114)\r\n                                                                 at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$WrapperFactory2.onCreateView(CalligraphyLayoutInflater.java:279)\r\n                                                                 at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:769)\r\n                                                                 at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)\r\n                                                                 at android.view.LayoutInflater.rInflate(LayoutInflater.java:858)\r\n                                                                 at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)\r\n                                                                 at android.view.LayoutInflater.rInflate(LayoutInflater.java:861)\r\n                                                                 at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)\r\n                                                                 at android.view.LayoutInflater.inflate(LayoutInflater.java:518)\r\n                                                                 at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60)\r\n                                                                 at android.view.LayoutInflater.inflate(LayoutInflater.java:426)\r\n                                                                 at android.view.LayoutInflater.inflate(LayoutInflater.java:377)\r\n                                                                 at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)\r\n                                                                 at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)\r\n                                                                 at com.example.fonts.landing.LandingPageActivity.onCreate(LandingPageActivity.java:27)\r\n                                                                 at android.app.Activity.performCreate(Activity.java:6658)\r\n                                                                 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)\r\n                                                                 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2584)\r\n                                                                 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2692)\r\n                                                                 at android.app.ActivityThread.-wrap12(ActivityThread.java)\r\n                                                                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1445)\r\n                                                                 at android.os.Handler.dispatchMessage(Handler.java:102)\r\n                                                                 at android.os.Looper.loop(Looper.java:154)\r\n                                                                 at android.app.ActivityThread.main(ActivityThread.java:6044)\r\n                                                                 at java.lang.reflect.Method.invoke(Native Method)\r\n                                                                 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)\r\n                                                                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)\r\n\r\nAnd I've found that this line https://github.com/chrisjenx/Calligraphy/blob/master/calligraphy/src/main/java/uk/co/chrisjenx/calligraphy/CalligraphyUtils.java#L191 fetches `Palieskite, kad įves. slaptaž`"}}
{"actor":{"display_login":"NeveHanter"}}