Opened 13 years ago

Closed 6 years ago

#277 closed defect (wontfix)

TRUETYPE Labels do not work

Reported by: dlowther@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 4.0
Severity: normal Keywords:
Cc:

Description (last modified by sdlime)

Using Win32 binary download of 3.7 dated 12/5/02.

Both of the following layer defs produce visible layers in 3.6.x.

This layer def produces a map with labels visible:

LAYER
	NAME pct_anno
	GROUP "Administrative Boundaries"
	DATA pc
	STATUS OFF
	TYPE ANNOTATION
	TRANSPARENCY 100
	PROJECTION #GEOGRAPHIC NAD83
		proj=longlat
		ellps=GRS80 
		no_defs 
	END

	LABELITEM "pct_num"
	CLASS
		#NAME "LABELS"
		#MAXSCALE 250000
		#STYLE
		#	COLOR -1 -1 -1
		#END
		LABEL
			#TYPE TRUETYPE
			TYPE BITMAP
			COLOR 255 0 0 
			#SIZE 12
			SIZE tiny
			#FONT ARIAL-BI
	    	POSITION cc
	    	PARTIALS FALSE
	    	BUFFER 0
	    END 
	END 
	METADATA
		"wms_title" "Precinct Labels"
		legend_order "25"
		legend_name "Precinct Labels"
	END
END 


This layer produces a map with no visible layers:

LAYER
	NAME pct_anno
	GROUP "Administrative Boundaries"
	DATA pc
	STATUS OFF
	TYPE ANNOTATION
	TRANSPARENCY 100
	PROJECTION #GEOGRAPHIC NAD83
		proj=longlat
		ellps=GRS80 
		no_defs 
	END

	LABELITEM "pct_num"
	CLASS
		#NAME "LABELS"
		#MAXSCALE 250000
		#STYLE
		#	COLOR -1 -1 -1
		#END
		LABEL
			TYPE TRUETYPE
			#TYPE BITMAP
			COLOR 255 0 0 
			SIZE 12
			#SIZE tiny
			FONT ARIAL-BI
	    	POSITION cc
	    	PARTIALS FALSE
	    	BUFFER 0
	    END 
	END 
	METADATA
		"wms_title" "Precinct Labels"
		legend_order "25"
		legend_name "Precinct Labels"
	END
END

Change History (2)

comment:1 Changed 13 years ago by dlowther@…

second layer def should say "produces no visible LABELS" not "layers". sorry 
for any confusion.

comment:2 Changed 6 years ago by sdlime

  • Description modified (diff)
  • Resolution set to wontfix
  • Status changed from new to closed

This is so old it's not worth spending time on... Steve

Note: See TracTickets for help on using tickets.