On Thu, Jul 12, 2012 at 6:59 PM, Charles <[email protected]> wrote: > Hi Folks, > > I'm sure this is a silly question, but hey it's what this list is for :) > > I'm running mapnik0.7.1 on fc16 and can't upgrade to mapnik2 for various > operational reasons. > > So I've been happily rendering maps with 0.7.1 but now I want to do some > tile stuff... > > So I downloaded > https://trac.openstreetmap.org/browser/applications/rendering/mapnik and > when I run > > ./generate_xml.py --dbname blah --host 'localhost' --user postgres --port > 5432 --password 'xxxxxx' > > I get the > > RuntimeError: Failed to find font face in Fontset 'book-fonts' > > error, which as I understand it, is because the osm.xml file with the > rendering app is expecting mapnik2.
Or expecting specific fonts. iirc from this older version, try changing the default fonts in this section of the osm.xml <FontSet name="book-fonts"> <Font face-name="DejaVu Sans Book" /> <Font face-name="unifont Medium"/> </FontSet> <FontSet name="bold-fonts"> <Font face-name="DejaVu Sans Bold" /> <Font face-name="unifont Medium"/> </FontSet> <FontSet name="oblique-fonts"> <Font face-name="DejaVu Sans Oblique" /> <Font face-name="unifont Medium"/> </FontSet> comment out the fonts that you don't have installed. Or take a boo at this older article on fonts and mapnik. http://web.archive.org/web/20101023190350/http://weait.com/content/add-fonts-your-openstreetmap-server _______________________________________________ newbies mailing list [email protected] http://lists.openstreetmap.org/listinfo/newbies

