If you take angles out of it do you still see the error? The message you reference makes me think it's a more basic problem like a file not existing or permissions being wrong on that file.
Steve -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of maddqc Sent: Monday, February 13, 2012 11:29 AM To: [email protected] Subject: [mapserver-users] type Truetype error for label angle Hi all, I have a projet that I need to place the label with a specific angle. But, if I understand it well, to use the angle, we need to have a TYPE TRUETYPE, but I always get an error (pink screen of death) when I use this type. Seriously, I don't know how to solve this. Thanks in advance. Here is the error from the apache log file. agg2GetTruetypeTextBBox(): TrueType Font error. AGG error loading font (/opt/mapping/maps/fonts/tahoma.ttf), referer: http:......... Here is my MAPFILE MAP NAME "Val Joli" SIZE 800 650 STATUS ON CONFIG "MS_ERRORFILE" stderr DEBUG 3 PROJECTION "init=epsg:32188" END #projection EXTENT 414540 5040590 435170 5058350 UNITS meters FONTSET "/opt/mapping/maps/fonts/fontset.list" SYMBOLSET "/opt/mapping/maps/symbols/symbol.sym" # prevent the pink screen of death on large monitors MAXSIZE 10000 TRANSPARENT TRUE #INCLUDE "../../mapping_globals.map" WEB METADATA 'ows_title' 'M.R.C. Val-St-François' 'ows_srs' 'EPSG:26915 EPSG:900913 EPSG:32188 EPSG:4326' END END SYMBOL NAME 'hatch-test' TYPE HATCH END #symbol LAYER NAME 'habillage1000' DATA '../420_MRC_Val_St_Francois/42095_ValJoli/42095_Habillage_1000_mtm8_text.shp' STATUS ON TYPE POINT LABELITEM 'TEXTSTRING' LABELCACHE ON LABELMAXSCALE 20000 CLASS NAME 'habillage1000' STYLE SIZE 7.0 COLOR 0 0 0 END LABEL FONT tahoma TYPE TRUETYPE SIZE 12 COLOR 0 0 0 ANGLE [TEXT_ANGLE] POSITION cc FORCE true ANTIALIAS true PARTIALS true END END TRANSPARENCY 100 END END -- View this message in context: http://osgeo-org.1560.n6.nabble.com/type-Truetype-error-for-label-angle-tp4465768p4465768.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
