Ticket #277 (closed defect: wontfix)

Opened 12 years ago

Last modified 5 years ago

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) (diff)

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

Changed 12 years ago by dlowther@…

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

Changed 5 years ago by sdlime

  • status changed from new to closed
  • resolution set to wontfix
  • description modified (diff)

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

Note: See TracTickets for help on using tickets.