{"action":"opened","issue":{"number":535,"created_at":"2011-10-11T16:24:30Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Mapnik currently supports SVG/PDF/PS output through the Cairo rendering backend.\r\n\r\nCairo's pdf surface supports embedding true fonts in the output, but the svg surface does not yet support this (the characters get drawn as a bunch of vectors/lines).\r\n\r\nAdditionally, even with PDF output, text halos are not true fonts, and get vectorized like SVG.\r\n\r\nThis limitation in SVG output is Cairo's (not Mapnik's usage of Cairo I'm pretty sure), but solving it would be really useful for users of Mapnik (and OSM users of the \"Export\" tab). Frequently SVG and PDF are export from the OSM Export tab with the intention of later editing in Inkscape or Illustrator - to target paper/printed maps. Text labels that are true fonts, and can be selected as groups (rather than individual characters) is necessary to make further tweaking possible.\r\n\r\nThis ticket is meant to flag and explain this issue. Two solutions are possible:\r\n\r\n1) Patch the svg surface of Cairo (potential short term option):\r\n\r\nhttp://cgit.freedesktop.org/cairo/tree/src/cairo-svg-surface.c\r\n\r\n2) Write a native SVG renderer for Mapnik (longer term plan, will also address layering, grouping, and pattern support issues)","comments":0,"title":"Embedded/Editable Fonts in SVG/PDF output","updated_at":"2011-10-11T16:24:30Z","url":"https://api.github.com/repos/artemp/mapnik/issues/535","id":1877833,"assignee":null,"milestone":{"number":2,"created_at":"2011-10-11T15:50:19Z","due_on":null,"title":"Future","creator":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"},"url":"https://api.github.com/repos/artemp/mapnik/milestones/2","open_issues":100,"closed_issues":6,"description":"Tickets without a proper milestone: either because they are unsorted and unreviewed or because developers do not see capacity to work on them before a planned release.\r\n\r\nThis group should be periodically reviewed and plucked by developers to be included in other milestones if feasible to work on.","state":"open"},"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"},"html_url":"https://github.com/artemp/mapnik/issues/535","labels":[{"name":"Cairo_Renderer","url":"https://api.github.com/repos/artemp/mapnik/labels/Cairo_Renderer","color":"FFFFFF"}],"state":"open"},"legacy":{"number":535,"action":"opened","issue":1877833}}