{"id":445,"date":"2014-10-02T23:06:44","date_gmt":"2014-10-03T03:06:44","guid":{"rendered":"http:\/\/www.bemdesign.com\/wordpress\/?p=445"},"modified":"2014-10-02T23:06:44","modified_gmt":"2014-10-03T03:06:44","slug":"svg-where-a-good-idea-runs-into-the-brick-wall-of-browser-implementation-or-lack-thereof","status":"publish","type":"post","link":"https:\/\/www.bemdesign.com\/wordpress\/2014\/10\/02\/svg-where-a-good-idea-runs-into-the-brick-wall-of-browser-implementation-or-lack-thereof\/","title":{"rendered":"SVG: Where a good idea runs into the brick wall of browser implementation (or lack thereof)"},"content":{"rendered":"<p>Let&#8217;s say you want to create a nice, user friendly, device-agnostic, lightly interactive map. SVG immediately comes to mind as a good technology to use in such a case. Pretty good browser support now days and it doesn&#8217;t require plugins. For those who can&#8217;t use SVG, you can always provide fallback support as needed. <\/p>\n<p>Now let&#8217;s say that you want to provide captions and a key legend for your map. Great! SVG supports fonts and font embedding! <\/p>\n<p>But what&#8217;s this? Firefox does not support SVG fonts? SVG, meet the brick wall of browser implementation or the lack thereof.<\/p>\n<p>So we turn our nice SVG text into shapes and use the &#8220;desc&#8221; and &#8220;title&#8221; attributes to at least make our formerly-text content somewhat accessible.<\/p>\n<p>To end on a more hopeful note, it looks like there&#8217;s a standard being developed to allow Open Type fonts to carry SVG path data, and the Firefox team may adopt this, thus solving Firefox&#8217;s SVG font &#8220;problem&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s say you want to create a nice, user friendly, device-agnostic, lightly interactive map. SVG immediately comes to mind as a good technology to use in such a case. Pretty good browser support now days and it doesn&#8217;t require plugins. For those who can&#8217;t use SVG, you can always provide fallback support as needed. Now [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,8],"tags":[],"class_list":["post-445","post","type-post","status-publish","format-standard","hentry","category-design","category-technology"],"_links":{"self":[{"href":"https:\/\/www.bemdesign.com\/wordpress\/wp-json\/wp\/v2\/posts\/445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bemdesign.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bemdesign.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bemdesign.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bemdesign.com\/wordpress\/wp-json\/wp\/v2\/comments?post=445"}],"version-history":[{"count":1,"href":"https:\/\/www.bemdesign.com\/wordpress\/wp-json\/wp\/v2\/posts\/445\/revisions"}],"predecessor-version":[{"id":446,"href":"https:\/\/www.bemdesign.com\/wordpress\/wp-json\/wp\/v2\/posts\/445\/revisions\/446"}],"wp:attachment":[{"href":"https:\/\/www.bemdesign.com\/wordpress\/wp-json\/wp\/v2\/media?parent=445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bemdesign.com\/wordpress\/wp-json\/wp\/v2\/categories?post=445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bemdesign.com\/wordpress\/wp-json\/wp\/v2\/tags?post=445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}