[mapserver-users] TRUETYPE SUPPORT

Tyler Mitchell TMitchell@lignum.com
Fri, 4 Oct 2002 08:34:04 -0700


--0__=07BBE6DBDFC602E28f9e8a93df938690918c07BBE6DBDFC602E2
Content-transfer-encoding: quoted-printable
Content-type: text/plain; charset=iso-8859-1



AFAIK - it works.  You need to set a few things in your mapfile, can yo=
u
send yours to me?  Here's the items:
FONTSET xxxxxx    - near the top of the map file points to a text file =
that
lists the font name and points it to a ttf file.
I set mine like this:
FONTSET "fontsets\fonts.txt"
I'll attach my fonts.txt file for you.  I also copy the ttf files into =
my
fontsets folder.(See attached file: fonts.txt)

In a label object set:
TYPE TRUETYPE

And then FONT xxxxxx  - based on the first column in the fonts.txt file=
 -
i.e. arial

I chunk of my map file looks like this

LAYER
.....
  CLASS
    ....
       LABEL
      FONT arialbold
      TYPE truetype
      ANTIALIAS TRUE
      POSITION AUTO
      COLOR 255 0 0
      OUTLINECOLOR 255 255 255
      PARTIALS FALSE
      SIZE 8
      END
  END
END

Does that help you out?


                                                                       =
                                                                   =20
                      Toni Hern=E1ndez                                 =
                                                                     =20
                      <toni@giscampus.udg.es>             To:       <ma=
pserver-users@lists.gis.umn.edu>                                   =20
                      Sent by:                            cc:          =
                                                                   =20
                      owner-mapserver-users@lists.        Fax to:      =
                                                                   =20
                      gis.umn.edu                         Subject:  [ma=
pserver-users] TRUETYPE SUPPORT                                    =20
                                                                       =
                                                                   =20
                                                                       =
                                                                   =20
                      10/04/2002 04:27 AM                              =
                                                                   =20
                                                                       =
                                                                   =20
                                                                       =
                                                                   =20




hi everyone,

Does anyone know if the last 3.6.1 version for windows has TRUETYPE
support?
I don't think so because I get the error "Requested font (arial) not fo=
und.
"
If it doesn't where can I find one version with TRUTYPE support?

Thanks for your time and knowledge


=

--0__=07BBE6DBDFC602E28f9e8a93df938690918c07BBE6DBDFC602E2
Content-type: application/octet-stream; 
	name="=?iso-8859-1?Q?fonts.txt?="
Content-Disposition: attachment; filename="=?iso-8859-1?Q?fonts.txt?="
Content-Transfer-Encoding: base64

YXJpYWwgQVJJQUwuVFRGDQphcmlhbGJvbGQgYXJpYWxiZC50dGYNCmFyaWFsYm9sZGl0YWxpY3Mg
YXJpYWxiaS50dGYNCmFyaWFsaXRhbGljcyBhcmlhbGkudHRmDQo=

--0__=07BBE6DBDFC602E28f9e8a93df938690918c07BBE6DBDFC602E2--