{"comment":{"created_at":"2011-10-11T08:03:19Z","body":"[thjc] #586 has some further analysis and a patch that should avoid this issue.","updated_at":"2011-10-11T08:03:19Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/comments/2358214","id":2358214,"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"}},"action":"created","issue":{"number":583,"created_at":"2011-10-11T08:03:17Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"In MapOSMatic, we are currently working on a new version of our map rendering engine (still based on Mapnik, of course ;-). We are running into a weird issue with the halo_radius attribute of the TextSymbolizer. It appears the halo is not properly rendered across Cairo scaling, which we didn't do before.\r\n\r\nNow, we tell Mapnik to render its map in a \"big enough\" surface that is then scaled down with Cairo (using CairoContext.scale) to fit into a certain area on the Cairo surface.\r\n\r\nI'm not sure how to describe the problem, but the halo (which apparently is a thin white path following the glyph of each letter) doesn't behave properly when rescaled. Attached are screenshots of the PDF and SVG outputs.\r\n\r\nWe have another problem with text rendering when scaling that only happens when rendering to PNG. I'm not sure if it's related, so I'll create a separate ticket with another screenshot for it.","comments":3,"title":"Text halo not correctly rendered after Cairo scaling","updated_at":"2011-10-11T08:03:19Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/583","id":1872224,"assignee":null,"milestone":null,"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/mapnik-org/mapnik/issues/583","labels":[{"name":"Cairo_Renderer","url":"https://api.github.com/repos/mapnik-org/mapnik/labels/Cairo_Renderer","color":"FFFFFF"}],"state":"open"},"legacy":{"issue_id":1872224,"comment_id":2358214}}