{"action":"opened","issue":{"url":"https://api.github.com/repos/jbreker/project-infinity/issues/4","labels_url":"https://api.github.com/repos/jbreker/project-infinity/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jbreker/project-infinity/issues/4/comments","events_url":"https://api.github.com/repos/jbreker/project-infinity/issues/4/events","html_url":"https://github.com/jbreker/project-infinity/issues/4","id":113205033,"number":4,"title":"consolidate duplicated font information","user":{"login":"jbreker","id":6274173,"avatar_url":"https://avatars.githubusercontent.com/u/6274173?v=3","gravatar_id":"","url":"https://api.github.com/users/jbreker","html_url":"https://github.com/jbreker","followers_url":"https://api.github.com/users/jbreker/followers","following_url":"https://api.github.com/users/jbreker/following{/other_user}","gists_url":"https://api.github.com/users/jbreker/gists{/gist_id}","starred_url":"https://api.github.com/users/jbreker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbreker/subscriptions","organizations_url":"https://api.github.com/users/jbreker/orgs","repos_url":"https://api.github.com/users/jbreker/repos","events_url":"https://api.github.com/users/jbreker/events{/privacy}","received_events_url":"https://api.github.com/users/jbreker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jbreker/project-infinity/labels/todo","name":"todo","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-25T04:04:37Z","updated_at":"2015-10-25T04:04:37Z","closed_at":null,"body":"Looks like some of the font information may be referenced from multiple places and the current code would essentially duplicate it.\r\n\r\nSome sort of lookup table (fpos for position in the font file, and a void pointer for a reference to the already loaded structure) should be kept during the import process in order to check to see if we have already loaded certain portions of the font and to simply reference the already loaded structure instead of loading it again."}}