Dave, The Noto font aims at resolving this issue: https://www.google.com/get/noto/
Aside from that mapserver supports language specific fonts. This needs documenting aside from what can be found in the RFC http://mapserver.org/development/rfc/ms-rfc-98.html (which has a typo, use s/LABEL/FONT/) FONT "arialuni,en:arial,ja:cjk,ar:arabic" 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... cheers, Thomas On Wed, Aug 9, 2017 at 8:04 PM Dave Barter <[email protected]> wrote: > 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:- > > http://imgbox.com/Z5SJ911X > > My Mapfile looks like this:- > > CLASS > EXPRESSION 'country' > LABEL > FONT sc > TYPE TRUETYPE > ENCODING "utf-8" > SIZE 8 > COLOR 100 100 100 > OUTLINECOLOR -1 -1 -1 > OUTLINEWIDTH 2 > WRAP ' ' > MAXLENGTH 8 > ALIGN CENTER > BUFFER 4 > PARTIALS FALSE > POSITION cc > END > END > > Which renders some of the characters but not Ethiopia as shown by this > image > > http://imgbox.com/vnGmn7jT > > My database server is using UTF8 as the encoding. So Is the problem with > my font? > > sc maps to DejaVuSansCondensed.ttf > > I am guessing some characters are missing or I need to use another font? > > > _______________________________________________ > mapserver-users mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
