[Mapserver-users] problen with webdings font

fx gamoy fx.gamoy at mapxplore.com
Tue Jul 20 04:30:40 EDT 2004


This is a multi-part message in MIME format.

------=_NextPart_000_010D_01C46E44.9AAE1D30
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hello
it works very fine using CHARACTER "" instead of CHARACTER "7"..
For those who get the same issue, use winworld to get the value =
corresponding to the carater you want to get..
thanks a lots
Merci Mister Deckert ;-)
fx

  ----- Original Message -----=20
  From: Bernd Deckert=20
  To: fx gamoy ; mapserver-users at lists.gis.umn.edu=20
  Sent: Monday, July 19, 2004 11:02 AM
  Subject: Re: [Mapserver-users] problen with webdings font


  Salut,
  I'm playing around with this kind of things. I use webdings and other =
TTF for symbologie under windows and linux.
  Can you show us the mapserver symbolfile and fontfile ?

  an example :=20


  SYMBOLFILE :=20
  ++++++++++++++++
  SYMBOL
    NAME "p_repr_02"
    TYPE TRUETYPE
    FONT webdings
    FILLED true
    ANTIALIAS true
    CHARACTER ""
  END
  ++++++++++++++++++

  FONTFILE (for windows):
  +++++++++++++++++++
  webdings webdings.ttf

  +++++++++++++++++


  MAPFILE mapserver 3.6
  ++++++++++++++++
  LAYER

  NAME

  "photo"

  GROUP

  "15"

  STATUS

  OFF

  TYPE

  POINT

  CONNECTIONTYPE

  OGR

  CONNECTION

  "XYZ/P_REPR30.TAB"

  UNITS

  METERS

  SIZEUNITS

  PIXELS

  TOLERANCE

  5

  TOLERANCEUNITS

  PIXELS

  CLASS

  NAME

  "photo1"

  SYMBOL

  "p_repr_02"

  COLOR

  255

  153

  51

  SIZE

  10

  MINSIZE

  1

  MAXSIZE

  100

  TEMPLATE

  "ttt_query.html"

  END

  END


  +++++++++++++++++


  To know the exact character number for the symbolfile you can do the =
following  :=20
  (Sorry this explaination is with MS Word in french)=20
  1. "Insertion" > "Caract=E8res sp=E9ciaux" > (see img1.png)=20
  2. "Touches de raccourcis" > (see img2.png) and look at "Description"
  The caracter number is 61518

  In english it would be something like this :=20
  1. "Insert" > "Special caracters" > (see img1.png)=20
  2. "Shortcuts" > (see img2.png) and look at "Description"
  The caracter number is 61518

  Hope it helps, Bernd

  PS : Tiens-moi au courant si =E7a =E0 march=E9 ;-)
  ---------->><<--------------
  Bernd Deckert
  01MAP - la carte vecteur d'information
  35, All=E9e d'Irlande
  34080 Montpellier

  Tel : 04 67 45 60 27
  Portable : 06 83 39 16 62
  M=E9l : bernd.deckert at wanadoo.fr=20
  ---------->><<--------------
    ----- Original Message -----=20
    From: fx gamoy=20
    To: mapserver-users at lists.gis.umn.edu=20
    Sent: Friday, July 16, 2004 6:59 PM
    Subject: [Mapserver-users] problen with webdings font


    Hello world
    i am trying to use webdings ttf file and i obtain little squares =
instead of the caracter i choose.
    I ve read that there was a bug in the way this font is coded..
    Is it a way to use webdings.ttf in win32 plateform?? (with =
mapserver4.0)
    thanks in advance
    fx


------=_NextPart_000_010D_01C46E44.9AAE1D30
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 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hello</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>it works very fine using CHARACTER =
"&amp;#61518;"=20
instead of CHARACTER "7"..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>For those who get the same issue, use =
winworld to=20
get the value corresponding to the carater you want =
to&nbsp;get..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>thanks a lots</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Merci Mister Deckert ;-)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>fx<BR></DIV></FONT>
<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=3Dbernd.deckert at wanadoo.fr =
href=3D"mailto:bernd.deckert at wanadoo.fr">Bernd=20
  Deckert</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dfx.gamoy at mapxplore.com=20
  href=3D"mailto:fx.gamoy at mapxplore.com">fx gamoy</A> ; <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> Monday, July 19, 2004 =
11:02=20
AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Mapserver-users] =
problen=20
  with webdings font</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>
  <DIV><FONT face=3DArial size=3D2>Salut,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>I'm playing around with this kind of =
things. I=20
  use webdings and other TTF for symbologie under windows and=20
linux.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Can you show&nbsp;us the mapserver =
symbolfile and=20
  fontfile ?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>an example : </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>SYMBOLFILE : </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>++++++++++++++++</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>SYMBOL<BR>&nbsp; NAME =
"p_repr_02"<BR>&nbsp; TYPE=20
  TRUETYPE<BR>&nbsp; FONT webdings<BR>&nbsp; FILLED true<BR>&nbsp; =
ANTIALIAS=20
  true<BR>&nbsp; CHARACTER "&amp;#61518;"<BR>END</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>++++++++++++++++++</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>FONTFILE (for windows):</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>+++++++++++++++++++</FONT></DIV>
  <DIV><FONT size=3D2>
  <P>webdings webdings.ttf</P></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>+++++++++++++++++</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>MAPFILE&nbsp;mapserver =
3.6</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>++++++++++++++++</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><FONT size=3D2>
  <P>LAYER</P>
  <P>NAME</P>
  <P>"photo"</P>
  <P>GROUP</P>
  <P>"15"</P>
  <P>STATUS</P>
  <P>OFF</P>
  <P>TYPE</P>
  <P>POINT</P>
  <P>CONNECTIONTYPE</P>
  <P>OGR</P>
  <P>CONNECTION</P>
  <P>"XYZ/P_REPR30.TAB"</P>
  <P>UNITS</P>
  <P>METERS</P>
  <P>SIZEUNITS</P>
  <P>PIXELS</P>
  <P>TOLERANCE</P>
  <P>5</P>
  <P>TOLERANCEUNITS</P>
  <P>PIXELS</P>
  <P>CLASS</P>
  <P>NAME</P>
  <P>"photo1"</P>
  <P>SYMBOL</P>
  <P>"p_repr_02"</P>
  <P>COLOR</P>
  <P>255</P>
  <P>153</P>
  <P>51</P>
  <P>SIZE</P>
  <P>10</P>
  <P>MINSIZE</P>
  <P>1</P>
  <P>MAXSIZE</P>
  <P>100</P>
  <P>TEMPLATE</P>
  <P>"ttt_query.html"</P>
  <P>END</P>
  <P>END</FONT></FONT></P></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>+++++++++++++++++</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>To know the exact character number =
for the=20
  symbolfile you can do the following&nbsp; : </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>(Sorry this explaination is with MS =
Word in=20
  french) </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>1. "Insertion" &gt; "Caract=E8res =
sp=E9ciaux" &gt;=20
  (see img1.png) </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>2. "Touches de raccourcis" &gt; (see =
img2.png)=20
  and look at "Description"</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>The caracter number is =
61518</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>In english it would be something like =
this :=20
  </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>1. "Insert" &gt; "Special caracters" =
&gt; (see=20
  img1.png) </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>2. "Shortcuts" &gt;&nbsp;(see =
img2.png) and look=20
  at "Description"</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>The caracter number is =
61518</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Hope it helps, Bernd</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>PS : Tiens-moi au courant si =E7a =E0 march=E9 =
;-)</DIV></FONT></DIV>
  <DIV>----------&gt;&gt;&lt;&lt;--------------<BR>Bernd =
Deckert<BR>01MAP - la=20
  carte vecteur d'information<BR>35, All=E9e d'Irlande<BR>34080 =
Montpellier</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Tel : 04 67 45 60 27<BR>Portable : 06 83 39 16 62<BR>M=E9l : <A=20
  href=3D"mailto:bernd.deckert at wanadoo.fr">bernd.deckert at wanadoo.fr</A>=20
  <BR>----------&gt;&gt;&lt;&lt;--------------</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=3Dfx.gamoy at mapxplore.com =
href=3D"mailto:fx.gamoy at mapxplore.com">fx=20
    gamoy</A> </DIV>
    <DIV style=3D"FONT: 10pt arial"><B>To:</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, July 16, 2004 =
6:59=20
    PM</DIV>
    <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mapserver-users] =
problen with=20
    webdings font</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=3DArial size=3D2>Hello world</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>i am trying to use webdings ttf =
file and i=20
    obtain little squares instead of the caracter i choose.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>I ve read that there was a bug in =
the way this=20
    font is coded..</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Is it a way to =
use&nbsp;webdings.ttf in win32=20
    plateform?? (with mapserver4.0)</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>thanks in advance</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>fx</FONT></DIV>
    <DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_010D_01C46E44.9AAE1D30--




More information about the mapserver-users mailing list