[Talk-TW] 答复: 答复: 答复: 答复: 答复: 答复: 地圖中文字亂碼的问题

Jacarri Chan jacarrichan於live.com
Wed 3月 19 10:03:29 UTC 2014


         當我執行最後一個刪除緩存操作後,一些檔找不到了,怎麼樣才能重新生成這些檔啊?  

 

下圖的右邊是我從apache的error.log日誌中看到的



============================================================

Jacarri Chan

============================================================

 

发件人: Rex Tsai [mailto:rex.cc.tsai於gmail.com] 
发送时间: 2014年3月19日 17:37
收件人: Jacarri Chan
抄送: OSM Taiwan
主题: Re: 答复: [Talk-TW] 答复: 答复: 答复: 答复: 地圖中文字亂碼的问题

 


修改的部份,稍早都已經回應了

1. 改 cascadenik xml - font config /etc/mapnik-osm-data/inc/fontset-settings.xml.inc

<FontSet name="book-fonts">
  <Font face-name="DejaVu Sans Book" />
  <Font face-name="unifont Medium" />
</FontSet>

2. 改 /etc/renderd.conf
[mapnik]
plugins_dir=/usr/lib/mapnik/2.0/input
# font_dir=/usr/share/fonts/truetype/ttf-dejavu # 預設
font_dir=/usr/share/fonts/truetype
font_dir_recurse=true

3. 砍掉 mod_tile/renderd cache 重練
sudo rm -rf /var/lib/mod_tile/default/*

Cheers

-Rex  

-------------- 下一部份 --------------
抹去了一個 HTML 附加檔...
URL: <http://lists.openstreetmap.org/pipermail/talk-tw/attachments/20140319/6d3e9f91/attachment-0001.html>
-------------- 下一部份 --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 417503 bytes
Desc: 〔無法取得〕
URL: <http://lists.openstreetmap.org/pipermail/talk-tw/attachments/20140319/6d3e9f91/attachment-0001.png>


More information about the Talk-TW mailing list