[OSM-dev] tirex with custom tileschema

Dane Springmeyer dane at dbsgeo.com
Mon Apr 11 18:22:52 BST 2011


On Apr 11, 2011, at 8:23 AM, Steven M. Ottens wrote:

> On 4/11/2011 4:50 PM, Peter Körner wrote:
>> Am 11.04.2011 14:31, schrieb Steven M. Ottens:
>>> 
>>> still struggling with this error:
>>> tirex-backend-mapnik[2309]: Mapnik config error: Unable to find
>>> specified font face ''

btw, sorry about ^^, I consider this poor error a mapnik bug and have flagged to fix before the next release: http://trac.mapnik.org/ticket/596#comment:1

>> 
>> The font-path configured in the tirex-renderer-config-file (/etc/tirex/mapnik.conf) is not your default system path. Change the config file to point to the font-path of your system (search for ttf-files ;)
> 
> Ah thanks, the problem was indeed that in /etc/tirex/renderer/mapnik.conf 'fontdir' was pointing to the wrong directory and  'fontdir_recurse' was not set to 1

Also, minor detail, but since Tirex was released I have added a native recursive font registration function, `register_fonts`, to Mapnik2, and backported to Mapnik 0.7.2:

http://trac.mapnik.org/browser/trunk/src/font_engine_freetype.cpp#L88

> It works now, except that it is in the wrong projection :) I've to look for a different solution :(

Let us know what you come up with!

> 
> Steven
> 
> 
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev




More information about the dev mailing list