Thanks but I have tried that option and it does not work.
I have for example in my mapfile
FONTSET "DEPORTES_FUTBOL/fonts/fontset.txt"
LEGEND
KEYSIZE 30 12
LABEL
FONT Arial
SIZE LARGE
COLOR 0 255 0
END
END
and the content of fontset.txt is
Arial ARIAL.TTF
and i get "Campos de f.tbol" in green color but u character it´s yet wrong
[cid:[email protected]]
I had this service published with old mapserver version (5.x) and windows
server, and only i have in my myfile
LEGEND
KEYSIZE 30 12
END
and it worked well.
________________________________
De: thomas bonfort [mailto:[email protected]]
Enviado el: miércoles, 15 de abril de 2015 11:38
Para: Carmen Delia Hernández Pérez
Asunto: Re: [mapserver-users] mapserver 6.4.1 - special characters in legend
Use a truetype font for your legend.
--
Thomas
On Apr 15, 2015 12:36 PM, "Carmen Delia Hernández Pérez"
<[email protected]<mailto:[email protected]>> wrote:
Hi!
I am installing Mapserver 6.4.1 on CentOS 7 for publish WMS services. I have
been installing all dependencies and I compiled mapserver. Mapserver works. The
WMS services work well except with legends generation . In layers with one
special character ( accent, ñ ) in its title, legend is wrong.
For example:
LAYER
NAME "Campos_futbol"
STATUS ON
METADATA
"ows_title" "Campos de fútbol"
...
When I do one GetLegendGraphic query it returns "Campos de f.tbol" in layer
description because the "u character accented" is wrong.
I don´t know where is the problem because when I do one GetFeatureInfo query
or one GetCapabilities query, these characters are show correctly. My apache
has ISO-8859-1 encoding by default.
------------------------------------------------------------------------------------------------------------------
GetFeatureInfo results:
Layer 'Campos_futbol'
Feature 38:
NOMBRE = 'Campo de Fútbol de La Matanza'
------------------------------------------------------------------------------------------------------------------
GetCapabilities results:
<?xml version="1.0" encoding="ISO-8859-1"?>
........
<Layer queryable="1" opaque="0" cascaded="0">
<Name>Campos_futbol</Name>
<Title>Campos de fútbol</Title>
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Someone has idea where can be the problem? Can it be I have some library
incorrect?
My Mapserver is configured so:
# mapserv -v
MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG
SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER
SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER INPUT=JPEG INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE
Thanks in advance!!
Carmen
_______________________________________________
mapserver-users mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users