<p>MapOSMatic solves this (and other things) by not having Mapnik itself creating the final output file, but by having it render into a Cairo Graphics surface instead, and then using pyCairo to add attribution, a title bar, etc. ...</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/551?email_source=notifications&email_token=AAK2OLP66UJSYHURABHKQ2LQ5L5VJA5CNFSM4AKDUZLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWXV5A#issuecomment-573405940">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIOLKV62PIWNG25PNTQ5L5VJANCNFSM4AKDUZLA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLJFFQFMJK2WLKNJSPDQ5L5VJA5CNFSM4AKDUZLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWXV5A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/551?email_source=notifications\u0026email_token=AAK2OLP66UJSYHURABHKQ2LQ5L5VJA5CNFSM4AKDUZLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWXV5A#issuecomment-573405940",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/551?email_source=notifications\u0026email_token=AAK2OLP66UJSYHURABHKQ2LQ5L5VJA5CNFSM4AKDUZLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWXV5A#issuecomment-573405940",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>