0

Hello,

I get the following error when I try to render tiles using Mapnik with standard style.

RuntimeError: Failed to find font face 'unifont Medium' in FontSet 'book-fonts' in FontSet at line 5 of '/home/mapnik/osm.xml'

I use fedora 22 and I have installed "unifont" package, I tested it using the following command:

[root@...]$ ls python -c "import mapnik;print mapnik.fontscollectionpath" default dejavu unifont

any help appreciated!

asked 03 Dec '15, 10:17

khamooshi's gravatar image

khamooshi
146111219
accept rate: 50%


One Answer:
2

Found it!
In inc/fontset-settings.xml.inc.template replace "unifont Medium" with "Unifont Medium"

permanent link

answered 03 Dec '15, 10:47

khamooshi's gravatar image

khamooshi
146111219
accept rate: 50%

1

You appear to be using some very old stylesheets, that's not the "Standard" style any more. The current stylesheet is found at https://github.com/gravitystorm/openstreetmap-carto

(03 Dec '15, 11:36) Andy Allan

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:

×396
×322
×13

question asked: 03 Dec '15, 10:17

question was seen: 8,343 times

last updated: 03 Dec '15, 11:36

powered by OSQA