{"action":"created","issue":{"url":"https://api.github.com/repos/Gamua/Starling-Framework/issues/705","labels_url":"https://api.github.com/repos/Gamua/Starling-Framework/issues/705/labels{/name}","comments_url":"https://api.github.com/repos/Gamua/Starling-Framework/issues/705/comments","events_url":"https://api.github.com/repos/Gamua/Starling-Framework/issues/705/events","html_url":"https://github.com/Gamua/Starling-Framework/issues/705","id":68141497,"number":705,"title":"Unregistering BitmapFont","user":{"login":"Maligan","id":1263469,"avatar_url":"https://avatars.githubusercontent.com/u/1263469?v=3","gravatar_id":"","url":"https://api.github.com/users/Maligan","html_url":"https://github.com/Maligan","followers_url":"https://api.github.com/users/Maligan/followers","following_url":"https://api.github.com/users/Maligan/following{/other_user}","gists_url":"https://api.github.com/users/Maligan/gists{/gist_id}","starred_url":"https://api.github.com/users/Maligan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maligan/subscriptions","organizations_url":"https://api.github.com/users/Maligan/orgs","repos_url":"https://api.github.com/users/Maligan/repos","events_url":"https://api.github.com/users/Maligan/events{/privacy}","received_events_url":"https://api.github.com/users/Maligan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-13T16:46:04Z","updated_at":"2015-04-14T14:24:03Z","closed_at":"2015-04-14T12:04:46Z","body":"For my app I must often register/unregister BitmapFont.\r\n\r\nProblem occurs when:\r\n1) Register BitmapFont\r\n2) Create TextField and set fontName equals BitmapFont name (internaly TextField set `mIsRenderedText` flag to `true`)\r\n3) Unregister bitmap font\r\n4) Invalidate TextField\r\n5) Catch error \"Bitmap font not registered\"\r\n\r\nIf I never register BitmapFont, flag `mIsRenderedText == false`, and TextField succefuly use native text engine.\r\n\r\nI understand this is specific and rare problem, but TextField can work without exception if I reassign fontName property after removing BitmapFont, this fact confuse me."},"comment":{"url":"https://api.github.com/repos/Gamua/Starling-Framework/issues/comments/92871362","html_url":"https://github.com/Gamua/Starling-Framework/issues/705#issuecomment-92871362","issue_url":"https://api.github.com/repos/Gamua/Starling-Framework/issues/705","id":92871362,"user":{"login":"Maligan","id":1263469,"avatar_url":"https://avatars.githubusercontent.com/u/1263469?v=3","gravatar_id":"","url":"https://api.github.com/users/Maligan","html_url":"https://github.com/Maligan","followers_url":"https://api.github.com/users/Maligan/followers","following_url":"https://api.github.com/users/Maligan/following{/other_user}","gists_url":"https://api.github.com/users/Maligan/gists{/gist_id}","starred_url":"https://api.github.com/users/Maligan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maligan/subscriptions","organizations_url":"https://api.github.com/users/Maligan/orgs","repos_url":"https://api.github.com/users/Maligan/repos","events_url":"https://api.github.com/users/Maligan/events{/privacy}","received_events_url":"https://api.github.com/users/Maligan/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T14:24:03Z","updated_at":"2015-04-14T14:24:03Z","body":"Yes this fix solves my problems!\r\nThank you for your responsiveness, Daniel!"}}