{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/book/issues/1154","repository_url":"https://api.github.com/repos/rust-lang/book","labels_url":"https://api.github.com/repos/rust-lang/book/issues/1154/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/book/issues/1154/comments","events_url":"https://api.github.com/repos/rust-lang/book/issues/1154/events","html_url":"https://github.com/rust-lang/book/issues/1154","id":296126968,"number":1154,"title":"Do not assume specific fonts for SVG images","user":{"login":"GloverDonovan","id":2374245,"avatar_url":"https://avatars1.githubusercontent.com/u/2374245?v=4","gravatar_id":"","url":"https://api.github.com/users/GloverDonovan","html_url":"https://github.com/GloverDonovan","followers_url":"https://api.github.com/users/GloverDonovan/followers","following_url":"https://api.github.com/users/GloverDonovan/following{/other_user}","gists_url":"https://api.github.com/users/GloverDonovan/gists{/gist_id}","starred_url":"https://api.github.com/users/GloverDonovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GloverDonovan/subscriptions","organizations_url":"https://api.github.com/users/GloverDonovan/orgs","repos_url":"https://api.github.com/users/GloverDonovan/repos","events_url":"https://api.github.com/users/GloverDonovan/events{/privacy}","received_events_url":"https://api.github.com/users/GloverDonovan/received_events","type":"User","site_admin":false},"labels":[{"id":888821582,"url":"https://api.github.com/repos/rust-lang/book/labels/2018%20edition","name":"2018 edition","color":"fff0f2","default":false},{"id":403483099,"url":"https://api.github.com/repos/rust-lang/book/labels/After%20Print","name":"After Print","color":"fff0f2","default":false},{"id":301411580,"url":"https://api.github.com/repos/rust-lang/book/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":425355352,"url":"https://api.github.com/repos/rust-lang/book/labels/Q%20for%20ourselves","name":"Q for ourselves","color":"5319e7","default":false},{"id":888821435,"url":"https://api.github.com/repos/rust-lang/book/labels/second-edition","name":"second-edition","color":"fff0f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-10T19:34:59Z","updated_at":"2018-04-15T19:50:32Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nRight now there is no restriction on which font SVG images use. Since the boxes are hard-coded, and since fonts vary in size, this negatively affects the presentation of some images. [Example](https://i.imgur.com/YwQn48k.jpg).\r\n\r\n[SVG fonts](https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_fonts) were proposed some years ago to fix this problem, although [most](https://www.chromestatus.com/feature/5930075908210688) [browsers](https://bugzilla.mozilla.org/show_bug.cgi?id=119490#c70) seem to have dropped this part of the spec in favor of using [inline CSS](https://graphicdesign.stackexchange.com/questions/5162/how-do-i-embed-google-web-fonts-into-an-svg) instead.\r\n\r\nMore specifically, all the `font-family=\"Times,serif\"` sections need to be changed. You can't assume that a user's `serif` font will have the same spacing as `Times`."},"comment":{"url":"https://api.github.com/repos/rust-lang/book/issues/comments/381433047","html_url":"https://github.com/rust-lang/book/issues/1154#issuecomment-381433047","issue_url":"https://api.github.com/repos/rust-lang/book/issues/1154","id":381433047,"user":{"login":"Altazimuth","id":5298767,"avatar_url":"https://avatars1.githubusercontent.com/u/5298767?v=4","gravatar_id":"","url":"https://api.github.com/users/Altazimuth","html_url":"https://github.com/Altazimuth","followers_url":"https://api.github.com/users/Altazimuth/followers","following_url":"https://api.github.com/users/Altazimuth/following{/other_user}","gists_url":"https://api.github.com/users/Altazimuth/gists{/gist_id}","starred_url":"https://api.github.com/users/Altazimuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Altazimuth/subscriptions","organizations_url":"https://api.github.com/users/Altazimuth/orgs","repos_url":"https://api.github.com/users/Altazimuth/repos","events_url":"https://api.github.com/users/Altazimuth/events{/privacy}","received_events_url":"https://api.github.com/users/Altazimuth/received_events","type":"User","site_admin":false},"created_at":"2018-04-15T19:50:32Z","updated_at":"2018-04-15T19:50:32Z","author_association":"NONE","body":"> What should they be changed to?\r\nIf you want to keep the look similar Liberation Serif from [liberation fonts](https://pagure.io/liberation-fonts) is licenced under the SIL Open Font License, Version 1.1.\r\nThere's also FreeSerif, which is from the GNU FreeFont and GPLv3 licenced (with font exception).\r\n"}}
{"actor":{"display_login":"Altazimuth"}}