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

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%


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

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:

×440
×341
×15

question asked: 03 Dec '15, 10:17

question was seen: 11,329 times

last updated: 03 Dec '15, 11:36

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