{"action":"created","issue":{"url":"https://api.github.com/repos/rougier/freetype-py/issues/35","repository_url":"https://api.github.com/repos/rougier/freetype-py","labels_url":"https://api.github.com/repos/rougier/freetype-py/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/rougier/freetype-py/issues/35/comments","events_url":"https://api.github.com/repos/rougier/freetype-py/issues/35/events","html_url":"https://github.com/rougier/freetype-py/issues/35","id":135582439,"number":35,"title":"Glyph bounding box does not work","user":{"login":"kelvin13","id":2556986,"avatar_url":"https://avatars.githubusercontent.com/u/2556986?v=3","gravatar_id":"","url":"https://api.github.com/users/kelvin13","html_url":"https://github.com/kelvin13","followers_url":"https://api.github.com/users/kelvin13/followers","following_url":"https://api.github.com/users/kelvin13/following{/other_user}","gists_url":"https://api.github.com/users/kelvin13/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvin13/subscriptions","organizations_url":"https://api.github.com/users/kelvin13/orgs","repos_url":"https://api.github.com/users/kelvin13/repos","events_url":"https://api.github.com/users/kelvin13/events{/privacy}","received_events_url":"https://api.github.com/users/kelvin13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-22T23:51:04Z","updated_at":"2016-03-01T21:43:17Z","closed_at":null,"body":"All values in glyph bounding boxes accessed from `FT.glyph.get_glyph().get_cbox(0)` return `0`. Probably caused by the fact that every point in `Outline._FT_Outline.points` returns `(0, 0)`."},"comment":{"url":"https://api.github.com/repos/rougier/freetype-py/issues/comments/190919307","html_url":"https://github.com/rougier/freetype-py/issues/35#issuecomment-190919307","issue_url":"https://api.github.com/repos/rougier/freetype-py/issues/35","id":190919307,"user":{"login":"kelvin13","id":2556986,"avatar_url":"https://avatars.githubusercontent.com/u/2556986?v=3","gravatar_id":"","url":"https://api.github.com/users/kelvin13","html_url":"https://github.com/kelvin13","followers_url":"https://api.github.com/users/kelvin13/followers","following_url":"https://api.github.com/users/kelvin13/following{/other_user}","gists_url":"https://api.github.com/users/kelvin13/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvin13/subscriptions","organizations_url":"https://api.github.com/users/kelvin13/orgs","repos_url":"https://api.github.com/users/kelvin13/repos","events_url":"https://api.github.com/users/kelvin13/events{/privacy}","received_events_url":"https://api.github.com/users/kelvin13/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T21:43:17Z","updated_at":"2016-03-01T21:43:17Z","body":"Other functions work fine without the face size:\r\n````\r\nimport freetype\r\n\r\nF = freetype.Face('FiraSans-Book.otf')\r\n\r\nF.load_char('R')\r\nG = F.glyph.get_glyph()\r\nCB = G.get_cbox(freetype.FT_GLYPH_BBOX_UNSCALED)\r\n\r\nO = F.glyph.outline\r\nBB = O.get_bbox()\r\n\r\nprint(CB.xMax, CB.xMin, CB.yMax, CB.yMin)\r\nprint(BB.xMax, BB.xMin, BB.yMax, BB.yMin)\r\n\r\nprint(F.get_advance(F.get_char_index('R'), True))\r\n\r\n>>> 0 0 0 0\r\n>>> 0 0 0 0\r\n>>> 601\r\n````"}}