<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff size=2>Kio, 
</FONT></SPAN></DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff size=2>Did 
you use the absolute path in your mapfile?&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff size=2>e.g. 
Instead of&nbsp;&nbsp;&nbsp; </FONT></SPAN><SPAN 
class=780061520-11122006>FONTSET "..\font\fontset.txt"</SPAN></DIV>
<DIV><SPAN class=780061520-11122006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff 
size=2>this</FONT></SPAN></DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff size=2><SPAN 
class=780061520-11122006><FONT face="Times New Roman" color=#000000 
size=3>FONTSET&nbsp; 
"</FONT></SPAN>c:\ms4w\Apache\htdocs\gp\font\fontset.txt"</FONT></SPAN></DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN></DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=780061520-11122006><FONT face=Arial color=#0000ff 
size=2>PS.&nbsp; It looks like you are on Windows, but if this was on Linux, I 
would also suggest to look at the case of the font file names and the case of 
the text in your fontset.txt file.&nbsp; A mix in case threw me a loop the first 
time that I ported a MapServer app from a Windows to a linux box.&nbsp; 
</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer 
  Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>korakas 
  koarkis<BR><B>Sent:</B> Monday, December 11, 2006 5:58 AM<BR><B>To:</B> 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] T?µa: 
  Re: [UMN_MAPSERVER-USERS] truetype fonts problem...<BR><BR></FONT></DIV>Thanks 
  for the quick repsonses.<BR><BR>I used an absolute path to the 
  fontset.txt:<BR>arial C:\ms4w\Apache\htdocs\gp\font\arial.ttf<BR><BR>and in 
  the map file I refer only to arial truetype fonts but the problem 
  remains!<BR><BR><SPAN 
  style="FONT-WEIGHT: bold; FONT-STYLE: italic">msGetLabelSize(): TrueType Font 
  error. Requested font (arial) not found. </SPAN><BR><BR>Also the arial.ttf 
  file is a copy from the C:\windows\fonts directory&nbsp; so it is not 
  corrupt..<BR><BR>kio<BR><BR><B><I>boice tomlin 
  &lt;boice@runskip.com&gt;</I></B> έγραψε:
  <BLOCKQUOTE class=replbq 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
    <DIV><BR class=khtml-block-placeholder></DIV>
    <DIV>Hello,</DIV>
    <DIV><BR class=khtml-block-placeholder></DIV>
    <DIV>I would start by using an absolute path to the fontset.txt file to see 
    if the relative path is the problem.</DIV>
    <DIV><BR class=khtml-block-placeholder></DIV>
    <DIV>Then I would try using just one font in the list and see if you can get 
    that working.&nbsp; If it can find the arial font but not the arialbd then 
    maybe that font file is corrupt.</DIV>
    <DIV><BR class=khtml-block-placeholder></DIV>
    <DIV>-boice</DIV>
    <DIV><BR class=khtml-block-placeholder></DIV>
    <DIV><BR class=khtml-block-placeholder></DIV><BR>
    <DIV>
    <DIV>On Dec 8, 2006, at 12:02 PM, korakas koarkis wrote:</DIV><BR 
    class=Apple-interchange-newline>
    <BLOCKQUOTE type="cite">Hi all, <BR><BR>I want to use true type fonts in 
      my maps and I am using the following setup:<BR><BR>a "font" folder with: 
      arial.ttf&nbsp; arialbd.ttf.<BR>also in this folder is placed the 
      fontset.txt:<BR>arial arial.ttf<BR>arialbd arialbd.ttf<BR><BR><BR>and 
      finally in my map file<BR><BR>..<BR>FONTSET 
      "..\font\fontset.txt"<BR>....<BR>&nbsp; 
      LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE 
      truetype<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; FONT 
      arialbd<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 
      9<BR><BR><BR>but the mapserver produces ::<BR><BR>msGetLabelSize(): 
      TrueType Font error. Requested font (arialbd) not found. <BR><BR><BR><BR>I 
      am completely stuck here.<BR>The mapserver sees the fontset.txt, (if i 
      rename it it produces an repsective error message) but it can not read the 
      aliases!<BR><BR><BR>kio
      <DIV><BR class=khtml-block-placeholder></DIV>
      <HR SIZE=1>
      <FONT face=Arial size=-1>Χρησιμοποιείτε Yahoo!<BR>Βαρεθήκατε τα ενοχλητικά 
      μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία 
      κατά των ενοχλητικών μηνυμάτων <BR><A 
      href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</A> 
      </FONT></BLOCKQUOTE></DIV><BR>
    <DIV><SPAN class=Apple-style-span 
    style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px; orphans: 2; widows: 2"><SPAN 
    class=Apple-style-span 
    style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px; orphans: 2; widows: 2"><BR 
    class=Apple-interchange-newline>
    <DIV style="MARGIN: 0px"><BR class=khtml-block-placeholder></DIV>
    <DIV style="MARGIN: 0px"><BR class=khtml-block-placeholder></DIV>
    <DIV style="MARGIN: 0px">////////////////////////////</DIV>
    <DIV style="MARGIN: 0px">Run Skip</DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><A 
    href="http://runskip.com">http://runskip.com</A>/<BR></DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR 
    class=khtml-block-placeholder></DIV>
    <DIV style="MARGIN: 0px">boice tomlin</DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MARGIN: 0px"><A 
    href="mailto:boice@runskip.com">boice@runskip.com</A></DIV>
    <DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><BR></DIV>
    <DIV style="MARGIN: 0px">503-528-6204</DIV><BR 
    class=Apple-interchange-newline></SPAN></SPAN></DIV><BR></BLOCKQUOTE><BR>
  <P>
  <HR SIZE=1>
  <FONT face=Arial size=-1>Χρησιμοποιείτε Yahoo!<BR>Βαρεθήκατε τα ενοχλητικά 
  μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά 
  των ενοχλητικών μηνυμάτων <BR><A 
  href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</A> 
  </FONT></BLOCKQUOTE></BODY></HTML>