<p>Damn, I think I haven't read the documentation good enough. 'buffer-size' is exactly what I was looking for.</p>
<p><strong>BUT</strong></p>
<p>Apparently it doesn't work. This is the header of my XML-file:</p>
<div class="highlight"><pre><span class="cp"><?xml version="1.0" encoding="utf-8"?></span>
<span class="cp"><!DOCTYPE Map></span>
<span class="nt"><Map</span>
<span class="na">srs=</span><span class="s">"+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over"</span>
<span class="na">buffer-size=</span><span class="s">"256"</span>
<span class="na">maximum-extent=</span><span class="s">"-20037508.34, -20037508.34, 20037508.34, 20037508.34"</span>
<span class="na">background-color=</span><span class="s">"#ff0000"</span>
<span class="nt">></span>
</pre></div>
<p>I tried several values for 'buffer-size', but the resulting image looks exactly the same as my first image (with no bleed). I set a background-color to make sure it's the new image I'm looking on.</p>
<p>I even checked the !bbox! mapnik is using by looking at the current queries in the database. The !bbox! for all variants is<br><code>ST_SetSRID('BOX3D(16.38610839843748 48.19172557560668,16.44104003906252 48.2283321272029)'::box3d, 4326)</code> (Yes, my database is in 4326 projection).</p>
<p>Am I missing something? I'm using Mapnik on the harfbuzz branch (HEAD <a href="https://github.com/mapnik/mapnik/commit/abad0da" class="commit-link">mapnik/mapnik@<tt>abad0da</tt></a>).</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/mod_tile/pull/29#issuecomment-18387310'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/g8smGCFOcVLF28Q-xX3zcXlU6hiyBqV32srC0NmYe7QucQHfQUhfzGuiGWswvzFO.gif' height='1' width='1'></p>