error FONTSET

Fawcett, David David.Fawcett at STATE.MN.US
Wed May 10 13:34:42 EDT 2006


Eduardo, 
 
Is there a file called fonts.list in the place that you have specified?  
 
In that file, is there an entry for 'arial-bold'?  
 
Do the file names both in the fonts.list file and in the filesystem match in their use of upper and lowercase?  
 
You may also want to put quotes around "arial-bold" in your FONT entry.
 
David.

	-----Original Message-----
	From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Eduardo Arévalo
	Sent: Wednesday, May 10, 2006 12:25 PM
	To: MAPSERVER-USERS at LISTS.UMN.EDU
	Subject: Re: [UMN_MAPSERVER-USERS] error FONTSET
	
	
	sorry Graham
	this mapfile:
	MAP
	  IMAGETYPE      PNG
	  EXTENT         -81.328393 -18.351232 -68.653396 -0.038607
	  SIZE           400 300
	  SHAPEPATH      "/home/postgres/vectores"
	  IMAGECOLOR     255 255 255
	  FONTSET        "/home/earevalo/mapserver-4.8.3/fonts/fonts.list"
	
	  LAYER
	    NAME         Peru_poly
	    DATA         departamentos
	    STATUS       OFF
	    TYPE         POLYGON
	    CLASSITEM    "nomb_dep"
	    LABELITEM    "capital"
	
	      CLASS
	        NAME       "departamento selva"
	        EXPRESSION "UCAYALI"
	        STYLE
	          COLOR        232 232 232
	      END
	        LABEL
	          COLOR         132 31 31
	          SHADOWCOLOR   218 218 218
	          SHADOWSIZE    2 2
	          TYPE          TRUETYPE
	          FONT          arial-bold
	          SIZE          12
	          ANTIALIAS     TRUE
	          POSITION      CL
	          PARTIALS      FALSE
	          MINDISTANCE   300
	          BUFFER        4
	         END #FIN LABEL
	   END
	.....
	
	
	2006/5/10, Graham Davis <gdavis at refractions.net>: 

		Hello Eduardo,
		
		One of the fonts that you have listed in your map file is not located
		where you have listed it.   In the future, please show us your MAP file
		so that we can better help you.
		
		--
		Graham Davis 
		Refractions Research Inc.
		gdavis at refractions.net
		
		
		Eduardo Arévalo wrote:
		
		> hello:  at the time of executing mapfile it leaves the following error
		> 
		> msGetLabelSize(): TrueType Font error. Could not find/open font
		>
		> please help
		


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060510/a9919229/attachment.html


More information about the mapserver-users mailing list