On Thu, Jun 20, 2013 at 12:15 PM, Satoshi IIDA <[email protected]> wrote: > > Is any message log from renderd? > > I suppose that manual run. > > $ renderd -f > > If some error occurs, messages would be shown. > > > > > > 2013/6/20 Gurpinder Chahal <[email protected]> >> >> On Tue, Jun 18, 2013 at 1:41 AM, Kai Krueger <[email protected]> wrote: >> > It probably depends on what program you use to drive the mapnik library. >> > If >> > you are using renderd, then you need to make sure the font settings are >> > correct in your renderd.conf >> > >> > Particularly, you want to make sure that the font_dir line in >> > renderd.conf ( >> > https://github.com/openstreetmap/mod_tile/blob/master/renderd.conf#L23 ) >> > is >> > set correctly to include the path to the fonts you want to use and that >> > font_dir_recurse is set to true / 1. >> >> >> Thank You Kai Krueger for help. >> Here is font_dir line in my renderd.conf : >> font_dir=/usr/share/fonts/ >> truetype/ttf-punjabi-fonts/lohit_pa.ttf >> >> I made few changes in fontset-settings.xml.inc.template, osm.xml. >> But still I got no change on my localhost. >> >> -- >> Gurpinder Kaur Chahal >> Blog: http://chahalgurpinder95.wordpress.com/ >> >> _______________________________________________ >> dev mailing list >> [email protected] >> http://lists.openstreetmap.org/listinfo/dev > > > > > -- > Satoshi IIDA > mail: [email protected] > twitter: @nyampire
I got no error there. After running $ renderd -f,it gave message ................................................................................. renderd[30997]: Rendering daemon started renderd[30997]: Parsing section renderd renderd[30997]: Parsing render section 0 renderd[30997]: Parsing section mapnik renderd[30997]: Parsing section default renderd[30997]: config renderd: unix socketname=/var/run/renderd/renderd.sock renderd[30997]: config renderd: num_threads=4 renderd[30997]: config renderd: num_slaves=0 renderd[30997]: config renderd: tile_dir=/var/lib/mod_tile renderd[30997]: config renderd: stats_file=/var/run/renderd/renderd.stats renderd[30997]: config mapnik: plugins_dir=/usr/lib/mapnik/2.0/input renderd[30997]: config mapnik: font_dir=/usr/share/fonts/truetype/ttf-punjabi-fonts renderd[30997]: config mapnik: font_dir_recurse=1 renderd[30997]: config renderd(0): Active renderd[30997]: config renderd(0): unix socketname=/var/run/renderd/renderd.sock renderd[30997]: config renderd(0): num_threads=4 renderd[30997]: config renderd(0): tile_dir=/var/lib/mod_tile renderd[30997]: config renderd(0): stats_file=/var/run/renderd/renderd.stats renderd[30997]: config map 0: name(default) file(/etc/mapnik-osm-data/osm.xml) uri(/osm/) htcp() host() renderd[30997]: Initialising unix server socket on /var/run/renderd/renderd.sock renderd[30997]: Created server socket 5 renderd[30997]: Renderd is using mapnik version 2.0.0 renderd[30997]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-punjabi-fonts/Saab.ttf renderd[30997]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-punjabi-fonts/lohit_pa.ttf Running in foreground mode... renderd[30997]: Starting stats thread ..................................................................................................................................... I think I'm missing something. I'm unable to change my fonts. -- Gurpinder Kaur Chahal Blog: http://chahalgurpinder95.wordpress.com/ _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

