source: subversion/applications/rendering/mapnik/convert-fontset @ 18475

Last change on this file since 18475 was 13972, checked in by jonb, 11 years ago

Update coaslines on mapnik layer to use shoreline_300 shapefiles

  • Property svn:executable set to *
File size: 814 bytes
Line 
1#!/bin/sed -f
2#
3# This script will convert from osm-template.xml to osm-template-fontset.xml
4#
5# $ ./convert-fontset osm-template.xml > osm-template-fontset.xml
6#
7#
8
9s/face_name="DejaVu Sans Bold"/fontset_name="bold-fonts"/
10s/face_name="DejaVu Sans Book"/fontset_name="book-fonts"/
11s/face_name="DejaVu Sans Oblique"/fontset_name="oblique-fonts"/
12
13/<Style name="world">/ i \
14    <FontSet name="book-fonts">\
15          <Font face_name="DejaVu Sans Book" />\
16          <Font face_name="unifont Medium" />\
17    </FontSet>\
18    <FontSet name="bold-fonts">\
19          <Font face_name="DejaVu Sans Bold" />\
20          <Font face_name="unifont Medium" />\
21    </FontSet>\
22    <FontSet name="oblique-fonts">\
23          <Font face_name="DejaVu Sans Oblique" />\
24          <Font face_name="unifont Medium" />\
25    </FontSet>
Note: See TracBrowser for help on using the repository browser.