{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/2038","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/2038/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/2038/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/2038/events","html_url":"https://github.com/mpv-player/mpv/issues/2038","id":87029835,"number":2038,"title":"Slow startup with embedded font","user":{"login":"occivink","id":5473453,"avatar_url":"https://avatars.githubusercontent.com/u/5473453?v=3","gravatar_id":"","url":"https://api.github.com/users/occivink","html_url":"https://github.com/occivink","followers_url":"https://api.github.com/users/occivink/followers","following_url":"https://api.github.com/users/occivink/following{/other_user}","gists_url":"https://api.github.com/users/occivink/gists{/gist_id}","starred_url":"https://api.github.com/users/occivink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/occivink/subscriptions","organizations_url":"https://api.github.com/users/occivink/orgs","repos_url":"https://api.github.com/users/occivink/repos","events_url":"https://api.github.com/users/occivink/events{/privacy}","received_events_url":"https://api.github.com/users/occivink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-10T16:35:35Z","updated_at":"2015-06-10T16:48:16Z","closed_at":null,"body":"mpv takes a long time (~4s on my system) to start up when loading [this particular file](https://0x0.st/Vl.mkv). The file contains an embedded font (which is 5mb large) and a subtitle track using it.\r\nMost of the time is spent on `[libass] Setting up fonts... ` which may indicate that this is not an mpv bug, though."},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/110829771","html_url":"https://github.com/mpv-player/mpv/issues/2038#issuecomment-110829771","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/2038","id":110829771,"user":{"login":"occivink","id":5473453,"avatar_url":"https://avatars.githubusercontent.com/u/5473453?v=3","gravatar_id":"","url":"https://api.github.com/users/occivink","html_url":"https://github.com/occivink","followers_url":"https://api.github.com/users/occivink/followers","following_url":"https://api.github.com/users/occivink/following{/other_user}","gists_url":"https://api.github.com/users/occivink/gists{/gist_id}","starred_url":"https://api.github.com/users/occivink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/occivink/subscriptions","organizations_url":"https://api.github.com/users/occivink/orgs","repos_url":"https://api.github.com/users/occivink/repos","events_url":"https://api.github.com/users/occivink/events{/privacy}","received_events_url":"https://api.github.com/users/occivink/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T16:48:16Z","updated_at":"2015-06-10T16:48:16Z","body":"I noticed this discussion concerning fontconfig\r\nhttps://bugs.freedesktop.org/show_bug.cgi?id=64766\r\nis the calculation of the glyph coverage the culprit in this case?"}}