{"action":"created","issue":{"url":"https://api.github.com/repos/wiremod/wire/issues/1074","labels_url":"https://api.github.com/repos/wiremod/wire/issues/1074/labels{/name}","comments_url":"https://api.github.com/repos/wiremod/wire/issues/1074/comments","events_url":"https://api.github.com/repos/wiremod/wire/issues/1074/events","html_url":"https://github.com/wiremod/wire/pull/1074","id":124724629,"number":1074,"title":"Allow wire_adv's TOOL.fitFont to fail gracefully","user":{"login":"AbigailBuccaneer","id":908758,"avatar_url":"https://avatars.githubusercontent.com/u/908758?v=3","gravatar_id":"","url":"https://api.github.com/users/AbigailBuccaneer","html_url":"https://github.com/AbigailBuccaneer","followers_url":"https://api.github.com/users/AbigailBuccaneer/followers","following_url":"https://api.github.com/users/AbigailBuccaneer/following{/other_user}","gists_url":"https://api.github.com/users/AbigailBuccaneer/gists{/gist_id}","starred_url":"https://api.github.com/users/AbigailBuccaneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbigailBuccaneer/subscriptions","organizations_url":"https://api.github.com/users/AbigailBuccaneer/orgs","repos_url":"https://api.github.com/users/AbigailBuccaneer/repos","events_url":"https://api.github.com/users/AbigailBuccaneer/events{/privacy}","received_events_url":"https://api.github.com/users/AbigailBuccaneer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-04T09:40:31Z","updated_at":"2016-01-04T09:59:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wiremod/wire/pulls/1074","html_url":"https://github.com/wiremod/wire/pull/1074","diff_url":"https://github.com/wiremod/wire/pull/1074.diff","patch_url":"https://github.com/wiremod/wire/pull/1074.patch"},"body":"Now if it can't find a font that would fit, it will return the smallest of the fonts.\r\n\r\nFixes #1071."},"comment":{"url":"https://api.github.com/repos/wiremod/wire/issues/comments/168628190","html_url":"https://github.com/wiremod/wire/pull/1074#issuecomment-168628190","issue_url":"https://api.github.com/repos/wiremod/wire/issues/1074","id":168628190,"user":{"login":"Divran","id":1485728,"avatar_url":"https://avatars.githubusercontent.com/u/1485728?v=3","gravatar_id":"","url":"https://api.github.com/users/Divran","html_url":"https://github.com/Divran","followers_url":"https://api.github.com/users/Divran/followers","following_url":"https://api.github.com/users/Divran/following{/other_user}","gists_url":"https://api.github.com/users/Divran/gists{/gist_id}","starred_url":"https://api.github.com/users/Divran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Divran/subscriptions","organizations_url":"https://api.github.com/users/Divran/orgs","repos_url":"https://api.github.com/users/Divran/repos","events_url":"https://api.github.com/users/Divran/events{/privacy}","received_events_url":"https://api.github.com/users/Divran/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T09:59:16Z","updated_at":"2016-01-04T09:59:16Z","body":"Would it not be nicer to simply add\n```\nlocal w, _ = surface.GetTextSize( \"Selected:\" )\nreturn w, height\n```\nat the bottom of the function, instead of all this \"if i == minFontSize\"\nstuff\n\nOn Mon, Jan 4, 2016 at 10:54 AM, Abigail <notifications@github.com> wrote:\n\n> Yes, but I'm at work and don't have time to fix the underlying issue - and\n> this code is still applicable when the menu scrolls or whatever the most\n> appropriate real solution is.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/wiremod/wire/pull/1074#issuecomment-168627288>.\n>\n"}}