[Mapserver-users] Mapserver 3.5 - using TrueType Fonts

Steve McCrone mccrone at pc.jaring.my
Fri Jan 10 03:47:55 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C2B8C8.06348370
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear Rich,

I tried your suggestion again and presto! - it worked. I put the =
Arial.ttf into the same directory as the FontList.list.

I thought I had tried this before? Anyway, I'm pleased but at the same =
time depressed as I wasted so much time on something so obvious.
Probably won't be the last time either.

Thanks for the help.

Steve

  ----- Original Message -----=20
  From: Richard Greenwood=20
  To: Steve McCrone=20
  Cc: mapserver-users at lists.gis.umn.edu=20
  Sent: Friday, January 10, 2003 11:03 AM
  Subject: Re: [Mapserver-users] Mapserver 3.5 - using TrueType Fonts


  Are the font files also in wwwroot\fonts\ ? I've found it easier to =
have the font.list in the same directory as the font files. Also check =
case - the font file names in font.list are case sensitive (even on =
windows).

  Rich

  At 10:33 AM 1/10/2003 +0800, you wrote:


    I have line data shape file (i.e. roads) and I wish to label the =
roads using the attribute "Road_name".
    =20
    I've tried a number of things w.r.t. setting the path for the =
FONTSET but still cannot get it.=20
    =20
    my template & map file are in the wwwroot, which is my Home =
Directory on Win2K and IIS.
    I have my fonts.list file in "wwwroot\fonts\fonts.list"
    =20
    when I try FONTSET "fonts/fonts.list" I get this error -=20
    =20
    getSymbol(): Symbol definition error. (FONT):(47)=20
    =20
    Then I try SYMBOLSET "C:\Inetpub\wwwroot\symbols\symbols35.sym" I =
get this error -=20
    =20
    getSymbol(): Symbol definition error. (FONT):(48)=20
    =20
    I don't have a symbols.sym file from the downloaded stuff, just the =
symbols35.sym file
    =20
    Don't know what to try next. Here is my map file (there could be =
errors)


------=_NextPart_000_0027_01C2B8C8.06348370
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Dear Rich,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I tried your suggestion again and =
presto! - it=20
worked. I put the Arial.ttf into the same directory as the=20
FontList.list.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I thought I had tried this before? =
Anyway, I'm=20
pleased but at the same time depressed as I wasted so much time on =
something so=20
obvious.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Probably won't be the last time=20
either.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for the help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Steve</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Drich at greenwoodmap.com =
href=3D"mailto:rich at greenwoodmap.com">Richard=20
  Greenwood</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dmccrone at pc.jaring.my=20
  href=3D"mailto:mccrone at pc.jaring.my">Steve McCrone</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A=20
  title=3Dmapserver-users at lists.gis.umn.edu=20
  =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, January 10, 2003 =
11:03=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Mapserver-users] =
Mapserver=20
  3.5 - using TrueType Fonts</DIV>
  <DIV><BR></DIV>Are the font files also in <FONT face=3Darial=20
  size=3D2>wwwroot\fonts\ ? I've found it easier to have the font.list =
in the same=20
  directory as the font files. Also check case - the font file names in=20
  font.list are case sensitive (even on =
windows).<BR><BR></FONT>Rich<BR><BR>At=20
  10:33 AM 1/10/2003 +0800, you wrote:<BR><BR>
  <BLOCKQUOTE class=3Dcite cite type=3D"cite"><FONT face=3Darial =
size=3D2>I have line=20
    data shape file (i.e. roads) and I wish to label the roads using the =

    attribute "Road_name".</FONT><BR>&nbsp;<BR><FONT face=3Darial =
size=3D2>I've=20
    tried a number of things w.r.t. setting the path for the FONTSET but =
still=20
    cannot get it. </FONT><BR>&nbsp;<BR><FONT face=3Darial size=3D2>my =
template=20
    &amp; map file are in the wwwroot, which is my Home Directory on =
Win2K and=20
    IIS.<BR>I have my fonts.list file in=20
    "wwwroot\fonts\fonts.list"</FONT><BR>&nbsp;<BR><FONT face=3Darial =
size=3D2>when=20
    I try FONTSET "fonts/fonts.list" I get this error -=20
    </FONT><BR>&nbsp;<BR><FONT face=3Darial size=3D2>getSymbol(): Symbol =
definition=20
    error. (FONT):(47) </FONT><BR>&nbsp;<BR><FONT face=3Darial =
size=3D2>Then I try=20
    SYMBOLSET "C:\Inetpub\wwwroot\symbols\symbols35.sym" I get this =
error -=20
    </FONT><BR>&nbsp;<BR><FONT face=3Darial size=3D2>getSymbol(): Symbol =
definition=20
    error. (FONT):(48) </FONT><BR>&nbsp;<BR><FONT face=3Darial =
size=3D2>I don't have=20
    a symbols.sym file from the downloaded stuff, just the symbols35.sym =

    file</FONT><BR>&nbsp;<BR><FONT face=3Darial size=3D2>Don't know what =
to try=20
    next. Here is my map file (there could be=20
errors)</FONT><BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0027_01C2B8C8.06348370--





More information about the mapserver-users mailing list