[Mapserver-users] Labels / Fonts in 3.7

Lowther, David W dlowther at ou.edu
Wed Jan 29 08:39:30 PST 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2C7B4.FF2BDAA0
Content-Type: text/plain

Howdy List,

I've updgraded to the most recent development version and am working through
the changes from 3.6.x to 3.7. The WIKI entry is really helpful and resolved
most of my issues. 

I am having trouble with labelling with truetype fonts. Maybe there are some
changes to the way this works in 3.7? If I change this layer by commenting
out TYPE TRUETYPE, FONT, and change SIZE to TINY everything works great. Any
help is appreciated.

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

	LABELITEM "pct_num"
	CLASS
		MAXSCALE 250000
		STYLE
			COLOR -1 -1 -1
		END
		LABEL
			TYPE TRUETYPE
			COLOR 255 0 0 
			SIZE 12
			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 

David Lowther
Software Engineer
GEO Information Systems
University of Oklahoma
dlowther at ou.edu
(405) 325-3131
http://www.geo.ou.edu <http://www.geo.ou.edu> 




------_=_NextPart_001_01C2C7B4.FF2BDAA0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Labels / Fonts in 3.7</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Howdy List,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I've updgraded to the most recent =
development version and am working through the changes from 3.6.x to =
3.7. The WIKI entry is really helpful and resolved most of my issues. =
</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am having trouble with labelling =
with truetype fonts. Maybe there are some changes to the way this works =
in 3.7? If I change this layer by commenting out TYPE TRUETYPE, FONT, =
and change SIZE to TINY everything works great. Any help is =
appreciated.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">LAYER #Precincts Anno</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">NAME pct_anno</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">GROUP "Administrative Boundaries"</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">DATA pc</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">STATUS OFF</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">TYPE ANNOTATION</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">PROJECTION #GEOGRAPHIC NAD83</FONT>
<BR>        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">proj=3Dlonglat</FONT>
<BR>        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">ellps=3DGRS80 </FONT>
<BR>        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">no_defs </FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">END</FONT>
</P>

<P>        <FONT SIZE=3D2 =
FACE=3D"Arial">LABELITEM "pct_num"</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">CLASS</FONT>
<BR>        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">MAXSCALE 250000</FONT>
<BR>        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">STYLE</FONT>
<BR>        =
        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">COLOR -1 -1 -1</FONT>
<BR>        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">END</FONT>
<BR>        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">LABEL</FONT>
<BR>        =
        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">TYPE TRUETYPE</FONT>
<BR>        =
        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">COLOR 255 0 0 </FONT>
<BR>        =
        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">SIZE 12</FONT>
<BR>        =
        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">FONT ARIAL-BI</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">        POSITION cc</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">        PARTIALS =
FALSE</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">        BUFFER 0</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">    END </FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">END </FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">METADATA</FONT>
<BR>        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">"wms_title" "Precinct Labels"</FONT>
<BR>        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">legend_order "25"</FONT>
<BR>        =
        <FONT SIZE=3D2 =
FACE=3D"Arial">legend_name "Precinct Labels"</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Arial">END</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">END </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">David Lowther</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Software Engineer</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">GEO Information Systems</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">University of Oklahoma</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">dlowther at ou.edu</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(405) 325-3131</FONT>
<BR><A HREF=3D"http://www.geo.ou.edu"><U><FONT COLOR=3D"#0000FF" =
SIZE=3D2 FACE=3D"Arial">http://www.geo.ou.edu</FONT></U></A>
</P>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C2C7B4.FF2BDAA0--



More information about the MapServer-users mailing list