<div dir="ltr">Dave,<div>The Noto font aims at resolving this issue: <a href="https://www.google.com/get/noto/">https://www.google.com/get/noto/</a></div><div><br></div><div>Aside from that mapserver supports language specific fonts. This needs documenting aside from what can be found in the RFC <a href="http://mapserver.org/development/rfc/ms-rfc-98.html">http://mapserver.org/development/rfc/ms-rfc-98.html</a> (which has a typo, use s/LABEL/FONT/)</div><div><br></div>FONT "arialuni,en:arial,ja:cjk,ar:arabic"<div><br></div><div>will use a specific font for a given language code. Collecting all the fonts and mapping them to all the language codes for a worldwide osm db will be a tiresome job...</div><div><br></div><div>cheers,</div><div>Thomas</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 9, 2017 at 8:04 PM Dave Barter <<a href="mailto:dave@phased.co.uk">dave@phased.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I’ve done a planet load of OSM and when I view countries in the database using PGADMIN I can see them correctly encoded as per the image below:-<div><br></div><div><a href="http://imgbox.com/Z5SJ911X" target="_blank">http://imgbox.com/Z5SJ911X</a></div><div><br></div><div>My Mapfile looks like this:-</div><div><br></div><div>CLASS<br> EXPRESSION 'country'<br> LABEL<br>  FONT sc<br>  TYPE TRUETYPE<br>  ENCODING "utf-8"<br>  SIZE 8<br>  COLOR 100 100 100<br>  OUTLINECOLOR -1 -1 -1<br>  OUTLINEWIDTH 2<br>  WRAP ' '<br>  MAXLENGTH 8<br>  ALIGN CENTER<br>  BUFFER 4<br>  PARTIALS FALSE<br>  POSITION cc<br> END<br>END</div><div><br></div><div>Which renders some of the characters but not Ethiopia as shown by this image</div><div><br></div><div><a href="http://imgbox.com/vnGmn7jT" target="_blank">http://imgbox.com/vnGmn7jT</a></div><div><br></div><div>My database server is using UTF8 as the encoding. So Is the problem with my font?</div><div><br></div><div>sc maps to DejaVuSansCondensed.ttf</div><div><br></div><div>I am guessing some characters are missing or I need to use another font?</div><div><br></div><div><br></div></div>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>