tichel
1
Hi.
I tried to double the size of all fonts of all TextSymbolizers of the standard OSM mapnik style. In most cases this works fine. But in some cases the text gets clipped as show here:
http://www.mytracks4mac.info/tmp/newyork.png
Any idea why?
Thanks,
Dirk
Marqqs
2
Hi Dirk,
welcome to the forum!
If you’re using a python script for rendering, please look for a line like this:
mm.buffer_size = 128
and change the value to 256 or higher.
Markus
tichel
3
Hi Markus.
I do not use a python script but Tirex. But you gave the correct hint with the “buffer size”. It is also possible to change the buffer size in the map tag of the XML file. I set that to 768 and now it seems to work fine.
Thanks,
Dirk
Hi,
I am generating the map of south asia using mapnik. but when i check the map most of the fonts which are not in english letter , not supported.
Thanks in advance.
Sajani
Ldp
5
Enable the unifont lines in your inc/fontset-settings.xml.inc file.
Perhaps I should just make that the default in svn. The unifont fontset has been bundled with mapnik ever since 0.7.0 or so.