{"action":"created","issue":{"url":"https://api.github.com/repos/gabelerner/canvg/issues/323","labels_url":"https://api.github.com/repos/gabelerner/canvg/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/gabelerner/canvg/issues/323/comments","events_url":"https://api.github.com/repos/gabelerner/canvg/issues/323/events","html_url":"https://github.com/gabelerner/canvg/issues/323","id":53496111,"number":323,"title":"External Css not parsed","user":{"login":"kpatel1989","id":5079020,"avatar_url":"https://avatars.githubusercontent.com/u/5079020?v=3","gravatar_id":"","url":"https://api.github.com/users/kpatel1989","html_url":"https://github.com/kpatel1989","followers_url":"https://api.github.com/users/kpatel1989/followers","following_url":"https://api.github.com/users/kpatel1989/following{/other_user}","gists_url":"https://api.github.com/users/kpatel1989/gists{/gist_id}","starred_url":"https://api.github.com/users/kpatel1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpatel1989/subscriptions","organizations_url":"https://api.github.com/users/kpatel1989/orgs","repos_url":"https://api.github.com/users/kpatel1989/repos","events_url":"https://api.github.com/users/kpatel1989/events{/privacy}","received_events_url":"https://api.github.com/users/kpatel1989/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-06T09:25:34Z","updated_at":"2015-05-14T21:43:24Z","closed_at":null,"body":"I am trying to add external css to my svg but its not being parsed and rendered on the canvas.\r\n\r\nmy svg file : \r\n<?xml-stylesheet type=\"text/css\" href=\"style.css\" ?>\r\n<svg xmlns=\"http://www.w3.org/2000/svg\"\r\n    xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n\t<defs>\r\n\t\t<style>\r\n\t\t\t@font-face {\r\n\t\t\t\tfont-family: versa;\r\n\t\t\t\tsrc: url(\"VeraSeBd.ttf\") format(\"svg\"); \r\n\t\t\t}\r\n\t\t\t \r\n\t\t</style>\r\n\t</defs>\r\n\r\n    <circle cx=\"40\" cy=\"40\" r=\"24\"/>\r\n\t<text x=\"20\" y=\"140\" font-family=\"versa\" font-size =\"20\">Example SVG text 1</text>\r\n</svg>\r\n\r\nand Css file\r\n\r\ncircle {\r\n     stroke: #006600;\r\n     fill  : #00cc00;\r\n  }\r\n  \r\ntext {\r\n\tstroke : #00cc00;\r\n}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gabelerner/canvg/issues/comments/102178450","html_url":"https://github.com/gabelerner/canvg/issues/323#issuecomment-102178450","issue_url":"https://api.github.com/repos/gabelerner/canvg/issues/323","id":102178450,"user":{"login":"jpatel3","id":1363884,"avatar_url":"https://avatars.githubusercontent.com/u/1363884?v=3","gravatar_id":"","url":"https://api.github.com/users/jpatel3","html_url":"https://github.com/jpatel3","followers_url":"https://api.github.com/users/jpatel3/followers","following_url":"https://api.github.com/users/jpatel3/following{/other_user}","gists_url":"https://api.github.com/users/jpatel3/gists{/gist_id}","starred_url":"https://api.github.com/users/jpatel3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpatel3/subscriptions","organizations_url":"https://api.github.com/users/jpatel3/orgs","repos_url":"https://api.github.com/users/jpatel3/repos","events_url":"https://api.github.com/users/jpatel3/events{/privacy}","received_events_url":"https://api.github.com/users/jpatel3/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T21:43:24Z","updated_at":"2015-05-14T21:43:24Z","body":"I don't think it will consider that css, you will need to inline all your style before you render. "}}