{"action":"created","issue":{"url":"https://api.github.com/repos/behdad/fonttools/issues/530","repository_url":"https://api.github.com/repos/behdad/fonttools","labels_url":"https://api.github.com/repos/behdad/fonttools/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/behdad/fonttools/issues/530/comments","events_url":"https://api.github.com/repos/behdad/fonttools/issues/530/events","html_url":"https://github.com/behdad/fonttools/issues/530","id":134768224,"number":530,"title":"[ttx] Adding glyph list option?","user":{"login":"eosrei","id":195061,"avatar_url":"https://avatars.githubusercontent.com/u/195061?v=3","gravatar_id":"","url":"https://api.github.com/users/eosrei","html_url":"https://github.com/eosrei","followers_url":"https://api.github.com/users/eosrei/followers","following_url":"https://api.github.com/users/eosrei/following{/other_user}","gists_url":"https://api.github.com/users/eosrei/gists{/gist_id}","starred_url":"https://api.github.com/users/eosrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eosrei/subscriptions","organizations_url":"https://api.github.com/users/eosrei/orgs","repos_url":"https://api.github.com/users/eosrei/repos","events_url":"https://api.github.com/users/eosrei/events{/privacy}","received_events_url":"https://api.github.com/users/eosrei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-19T04:21:57Z","updated_at":"2016-02-19T05:15:41Z","closed_at":null,"body":"I just needed to search a directory of fonts to determine which font(s) supplied a specific glyph. Ended up scripting with fonttools, but thought it should be a ttx option like `-l` or maybe a suboption.\r\n\r\nI'd implement, but want a yes/no/maybe on the idea first. Something like this:\r\n```\r\n$ ttx -g Roboto-Regular.ttf\r\nRoboto-Regular.ttf: 0x0 .notdef\r\nRoboto-Regular.ttf: 0x41 A\r\nRoboto-Regular.ttf: 0xc6 AE\r\nRoboto-Regular.ttf: 0x1fc AEacute\r\nRoboto-Regular.ttf: 0xc1 Aacute\r\nRoboto-Regular.ttf: 0x102 Abreve\r\nRoboto-Regular.ttf: 0xc2 Acircumflex\r\nRoboto-Regular.ttf: 0xc4 Adieresis\r\nRoboto-Regular.ttf: 0xc0 Agrave\r\nRoboto-Regular.ttf: 0x391 Alpha\r\nRoboto-Regular.ttf: 0x386 Alphatonos\r\nRoboto-Regular.ttf: 0x100 Amacron\r\nRoboto-Regular.ttf: 0x104 Aogonek\r\nRoboto-Regular.ttf: 0xc5 Aring\r\nRoboto-Regular.ttf: 0x1fa Aringacute\r\nRoboto-Regular.ttf: 0xc3 Atilde\r\nRoboto-Regular.ttf: 0x42 B\r\nRoboto-Regular.ttf: 0x392 Beta\r\n```\r\nIn this example, I printed the font name on every line to make it simpler to parse the output with grep.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/behdad/fonttools/issues/comments/186054295","html_url":"https://github.com/behdad/fonttools/issues/530#issuecomment-186054295","issue_url":"https://api.github.com/repos/behdad/fonttools/issues/530","id":186054295,"user":{"login":"davelab6","id":261579,"avatar_url":"https://avatars.githubusercontent.com/u/261579?v=3","gravatar_id":"","url":"https://api.github.com/users/davelab6","html_url":"https://github.com/davelab6","followers_url":"https://api.github.com/users/davelab6/followers","following_url":"https://api.github.com/users/davelab6/following{/other_user}","gists_url":"https://api.github.com/users/davelab6/gists{/gist_id}","starred_url":"https://api.github.com/users/davelab6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davelab6/subscriptions","organizations_url":"https://api.github.com/users/davelab6/orgs","repos_url":"https://api.github.com/users/davelab6/repos","events_url":"https://api.github.com/users/davelab6/events{/privacy}","received_events_url":"https://api.github.com/users/davelab6/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T05:15:41Z","updated_at":"2016-02-19T05:15:41Z","body":"https://github.com/davelab6/pyfontaine provides this: \r\n\r\n```\r\n$ pyfontaine a fonts/apache/roboto/Roboto-Regular.ttf \r\nFont                U+0061\r\nRoboto-Regular.ttf  True\r\n```\r\n\r\nSo does coverage.py in https://github.com/googlei18n/nototools"}}