{"action":"created","issue":{"url":"https://api.github.com/repos/dcjones/Gadfly.jl/issues/565","labels_url":"https://api.github.com/repos/dcjones/Gadfly.jl/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/dcjones/Gadfly.jl/issues/565/comments","events_url":"https://api.github.com/repos/dcjones/Gadfly.jl/issues/565/events","html_url":"https://github.com/dcjones/Gadfly.jl/issues/565","id":63423205,"number":565,"title":"Bad font rendering wtih Scale.y_log10 when drawing to backend","user":{"login":"jdtuck","id":2325587,"avatar_url":"https://avatars.githubusercontent.com/u/2325587?v=3","gravatar_id":"","url":"https://api.github.com/users/jdtuck","html_url":"https://github.com/jdtuck","followers_url":"https://api.github.com/users/jdtuck/followers","following_url":"https://api.github.com/users/jdtuck/following{/other_user}","gists_url":"https://api.github.com/users/jdtuck/gists{/gist_id}","starred_url":"https://api.github.com/users/jdtuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdtuck/subscriptions","organizations_url":"https://api.github.com/users/jdtuck/orgs","repos_url":"https://api.github.com/users/jdtuck/repos","events_url":"https://api.github.com/users/jdtuck/events{/privacy}","received_events_url":"https://api.github.com/users/jdtuck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-21T16:15:46Z","updated_at":"2015-04-01T19:26:12Z","closed_at":null,"body":"When executing the following plot the SVG renders with easy to read exponents on the labels\r\n\r\n```\r\nplot(dataset(\"MASS\", \"mammals\"), x=\"Body\", y=\"Brain\", label=1,\r\n            Scale.x_log10, Scale.y_log10, Geom.point, Geom.label)\r\n```\r\n![2015-03-21-101046_1366x768_scrot](https://cloud.githubusercontent.com/assets/2325587/6765757/06c2e9ac-cfb3-11e4-98cb-24faf4215dae.png)\r\n\r\nhowever, once it is rendered to the a backend using\r\n\r\n```\r\ndraw(PNG(\"plot.png\", 6inch, 4inch, dpi=600), p)\r\n```\r\n\r\nthe exponents are hard to read. Thoughts on what I am doing wrong or how to fix it? Thanks\r\n\r\n![masvis_average](https://cloud.githubusercontent.com/assets/2325587/6765763/2fb7e66e-cfb3-11e4-8feb-8359145ca284.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dcjones/Gadfly.jl/issues/comments/88602868","html_url":"https://github.com/dcjones/Gadfly.jl/issues/565#issuecomment-88602868","issue_url":"https://api.github.com/repos/dcjones/Gadfly.jl/issues/565","id":88602868,"user":{"login":"dcjones","id":210361,"avatar_url":"https://avatars.githubusercontent.com/u/210361?v=3","gravatar_id":"","url":"https://api.github.com/users/dcjones","html_url":"https://github.com/dcjones","followers_url":"https://api.github.com/users/dcjones/followers","following_url":"https://api.github.com/users/dcjones/following{/other_user}","gists_url":"https://api.github.com/users/dcjones/gists{/gist_id}","starred_url":"https://api.github.com/users/dcjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcjones/subscriptions","organizations_url":"https://api.github.com/users/dcjones/orgs","repos_url":"https://api.github.com/users/dcjones/repos","events_url":"https://api.github.com/users/dcjones/events{/privacy}","received_events_url":"https://api.github.com/users/dcjones/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T19:26:12Z","updated_at":"2015-04-01T19:26:12Z","body":"I'm not sure what's going on. Maybe try changing the font for those labels by adding something like:\r\n`Theme(minor_label_font=\"courier\")` to `plot`. I wonder if it's just something peculiar with the font cairo is choosing."}}