you create it, it maps font names, used with the LABEL->FONT keyword,
with the full path to your .tff font.
e.g.

arial /usr/local/share/fonts/arial.ttf
arialbold /usr/local/share/fonts/arialbf.ttf
...

this is all in the docs... http://mapserver.org/mapfile/fontset.html
http://mapserver.org/mapfile/label.html

On Thu, Apr 21, 2011 at 18:52, Annabell Schelton Lima <[email protected]> wrote:
> thanks Thomas, i already checked the location of the font file and does not 
> found it, there is not a file fonts.list in my project, so, what can i do? 
> where can i get this file?
>
>
>
> ----- Mensaje original -----
> De: "thomas bonfort" <[email protected]>
> Para: "Annabell Schelton Lima" <[email protected]>
> CC: "MapserverList OSGEO" <[email protected]>
> Enviados: Jueves, 21 de Abril 2011 18:22:25 GMT +01:00 Amsterdam / Berlín / 
> Berna / Roma / Estocolmo / Viena
> Asunto: Re: [mapserver-dev] problem with mapserver
>
> please keep the message on list.
> this is usually the case if the font file (referenced from your
> fontset) was corrupt or pointing to an incorrect location.
>
> On Thu, Apr 21, 2011 at 17:57, Annabell Schelton Lima <[email protected]> 
> wrote:
>> i tried it that before, but does not work, when i use type truetype in my 
>> object label my label layer does not show..any idea??
>>
>>
>>
>> ----- Mensaje original -----
>> De: "thomas bonfort" <[email protected]>
>> Para: "Annabell Schelton Lima" <[email protected]>
>> CC: "MapserverList OSGEO" <[email protected]>
>> Enviados: Jueves, 21 de Abril 2011 17:47:23 GMT +01:00 Amsterdam / Berlín / 
>> Berna / Roma / Estocolmo / Viena
>> Asunto: Re: [mapserver-dev] problem with mapserver
>>
>> forwarding this to the mapserver-users list where it belongs.
>>
>> you are setting TYPE bitmap, which does not support more than ascii 
>> characters.
>> you must set TYPE TRUETYPE and SIZE 9 (an integer value, not tiny,
>> medium, etc...)
>>
>> regards,
>> thomas
>>
>> On Thu, Apr 21, 2011 at 16:35, Annabell Schelton Lima <[email protected]> 
>> wrote:
>>> hi, i have a  problem with encoding  labels and mapfile configuration..my 
>>> data is already converted to UTF-8 format, stored in a postgres database, 
>>> but the labels do not recognize the accents, this is my mapfile in the 
>>> section label, i declare it like a new layer with annotations, but as a 
>>> part of a layer with labelitem the result it´s the same...
>>>
>>>                  LABEL
>>>                        SIZE   medium
>>>                        FONT arial
>>>                        COLOR   0 0 0
>>>                        POSITION  cl
>>>                        TYPE  bitmap
>>>                        ANTIALIAS TRUE
>>>                        MINDISTANCE 300
>>>                        #MINFEATURESIZE 200
>>>                        ENCODING "UTF-8"
>>>                        BUFFER 4
>>>                        PARTIALS FALSE
>>>            END
>>>  Please, somebody help me, i really need resolve this soon...
>>> _______________________________________________
>>> mapserver-dev mailing list
>>> [email protected]
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>>
>>
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to