<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Make sure that the paths in your fontset file point to the font files and remember that the paths are probably case sensitive.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">David.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Michael McInnis<br>
<b>Sent:</b> Monday, September 16, 2013 12:52 PM<br>
<b>To:</b> Rahkonen Jukka; mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] TYPE/FONT/SIZE breaks labels<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif"">Thanks, that seems to have fixed things. It only seems to work with arial but the sizes work now. <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif"">I'll look into how to get full control of installed fonts I guess.<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri","sans-serif""><br>
Michael McInnis 6033 44th Ave. N.E. Seattle, WA 98115 206 517-4701<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif"">> From: <a href="mailto:jukka.rahkonen@mmmtike.fi">
jukka.rahkonen@mmmtike.fi</a><br>
> To: <a href="mailto:mmcinnis59@msn.com">mmcinnis59@msn.com</a>; <a href="mailto:mapserver-users@lists.osgeo.org">
mapserver-users@lists.osgeo.org</a><br>
> Subject: VS: [mapserver-users] TYPE/FONT/SIZE breaks labels<br>
> Date: Mon, 16 Sep 2013 17:09:04 +0000<br>
> <br>
> Hi,<br>
> <br>
> Add DEBUG 5 into your LAYER and you may see from the MS_ERRORFILE what is the problem. My bet is that you are missing the FONTSET
<a href="http://www.mapserver.org/mapfile/fontset.html">http://www.mapserver.org/mapfile/fontset.html</a><br>
> <br>
> -Jukka Rahkonen-<br>
> ________________________________<br>
> Michael McInnis wrote:<br>
> <br>
> > Mapservers!<br>
> <br>
> > I have bailed on dynamically generating labels and fell back to a .map based solution and may have found the primary problem. If I enable TYPE or FONT or SIZE in the LABEL section my map fails to display. I installed Truetype fonts on my Ubuntu system on
 Friday.<br>
> <br>
> > Does anyone know why the fonts will not function?<br>
> <br>
> LAYER<br>
> CONNECTIONTYPE POSTGIS<br>
> NAME airports<br>
> CONNECTION "host=xxxx dbname=xxxx user=xxxx password=xxxx port=xxxx"<br>
> PROCESSING "CLOSE_CONNECTION=DEFER"<br>
> #DATA "geom From airports"<br>
> DATA "geom From (select a.icao, geom From airports a left join airportdata e on a.icao = e.icao where e.icao Is Not Null) as subquery using unique icao using srid=4326"<br>
> STATUS ON<br>
> TYPE POINT<br>
> LABELITEM "icao"<br>
> CLASS<br>
> LABEL<br>
> #TYPE truetype<br>
> #FONT "sans"<br>
> #SIZE 8<br>
> ANTIALIAS TRUE<br>
> POSITION AUTO<br>
> PARTIALS TRUE<br>
> MINDISTANCE 100<br>
> BUFFER 4<br>
> COLOR 0 0 0<br>
> END<br>
> NAME "airportsClass"<br>
> STYLE<br>
> SYMBOL 'circle-filled'<br>
> SIZE 3<br>
> COLOR 255 22 22<br>
> END<br>
> END # Class<br>
> END # Layer<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>