NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am getting the following Tirex error:

tirex-backend-mapnik[15024]: no valid fonts could be loaded in FontSet 'fontset-0' in FontSet at line 17 of '/etc/mapnik-osm-carto-data/osm.xml'

The first font in osm.xml is DejaVu Sans Book which is installed:

# python -c "from mapnik import FontEngine as e;print '\n'.join(e.instance().face_names())" | grep "DejaVu Sans Book"

Output:
DejaVu Sans Book

When rendering via generate_image.py it works.

asked 23 Jun '14, 11:57

Alex_AddisMap's gravatar image

Alex_AddisMap
1897815
accept rate: 0%

edited 23 Jun '14, 12:20


Set

fontdir=/usr/share/fonts/
fontdir_recurse=1

in /etc/tirex/renderer/mapnik.conf

permanent link

answered 23 Jun '14, 12:28

Alex_AddisMap's gravatar image

Alex_AddisMap
1897815
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×341
×14
×4

question asked: 23 Jun '14, 11:57

question was seen: 6,572 times

last updated: 23 Jun '14, 12:28

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum