{"action":"created","issue":{"url":"https://api.github.com/repos/rougier/freetype-gl/issues/177","repository_url":"https://api.github.com/repos/rougier/freetype-gl","labels_url":"https://api.github.com/repos/rougier/freetype-gl/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/rougier/freetype-gl/issues/177/comments","events_url":"https://api.github.com/repos/rougier/freetype-gl/issues/177/events","html_url":"https://github.com/rougier/freetype-gl/issues/177","id":283074035,"number":177,"title":"Do the text bounds for different font sizes scale linearly?","user":{"login":"silverness2","id":25487118,"avatar_url":"https://avatars2.githubusercontent.com/u/25487118?v=4","gravatar_id":"","url":"https://api.github.com/users/silverness2","html_url":"https://github.com/silverness2","followers_url":"https://api.github.com/users/silverness2/followers","following_url":"https://api.github.com/users/silverness2/following{/other_user}","gists_url":"https://api.github.com/users/silverness2/gists{/gist_id}","starred_url":"https://api.github.com/users/silverness2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverness2/subscriptions","organizations_url":"https://api.github.com/users/silverness2/orgs","repos_url":"https://api.github.com/users/silverness2/repos","events_url":"https://api.github.com/users/silverness2/events{/privacy}","received_events_url":"https://api.github.com/users/silverness2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-12-19T01:15:30Z","updated_at":"2017-12-23T06:51:10Z","closed_at":null,"author_association":"NONE","body":"1 - Say I render multi-line text with the same exact font and font size for each glyph and then compute the text bounds of the text via **text_buffer_get_bounds()** to get `BoundsA`.\r\n2 - Now, I want make the text smaller or bigger, so I scale the font size of each glyph by `%x`.\r\n3 - I re-compute the text bounds of the newly scaled text via **text_buffer_get_bounds()** to get `BoundsB`.\r\n4 - Is it true that, if nothing else has changed except for the font size of each glyph, `BoundsB = BoundsA * %x`? Or, is computing the text bounds not a simple linear relationship like this?\r\n"},"comment":{"url":"https://api.github.com/repos/rougier/freetype-gl/issues/comments/353710744","html_url":"https://github.com/rougier/freetype-gl/issues/177#issuecomment-353710744","issue_url":"https://api.github.com/repos/rougier/freetype-gl/issues/177","id":353710744,"user":{"login":"rougier","id":327203,"avatar_url":"https://avatars2.githubusercontent.com/u/327203?v=4","gravatar_id":"","url":"https://api.github.com/users/rougier","html_url":"https://github.com/rougier","followers_url":"https://api.github.com/users/rougier/followers","following_url":"https://api.github.com/users/rougier/following{/other_user}","gists_url":"https://api.github.com/users/rougier/gists{/gist_id}","starred_url":"https://api.github.com/users/rougier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rougier/subscriptions","organizations_url":"https://api.github.com/users/rougier/orgs","repos_url":"https://api.github.com/users/rougier/repos","events_url":"https://api.github.com/users/rougier/events{/privacy}","received_events_url":"https://api.github.com/users/rougier/received_events","type":"User","site_admin":false},"created_at":"2017-12-23T06:51:10Z","updated_at":"2017-12-23T06:51:10Z","author_association":"OWNER","body":"Hum. Can know test if the vertical extent scales linearly if you set font size from 12 to 96 (on a single letter and on text \"Tg\")?"}}
{"actor":{"display_login":"rougier"}}