Font Question

Thomas Hammerlund tom at MAPLINK.JP
Thu May 18 03:47:06 EDT 2006


Hello Everyone,

I have a question about font styling.  My style sheet is asking for a 
stroke-width of 0.5.  Do I set this up like a polygon with an outlinecolor 
of less than 1?  If so, does anyone know how to do that?

Here's my style sheet exerpt:
<xsl:template match= "svg/g[@id= 'p_eki_u']" >
     <g>
     <xsl:copy-of select="@*"/>

     <xsl:attribute name="style">stroke:#7F7F7F;stroke-width:0.4; 
fill:#E000A1;</xsl:attribute>

     <xsl:copy-of select="./*"/>
     </g>
     </xsl:template>

and my layer so far ...

  LAYER
  NAME c_eki_oh
  STATUS ON
  TILEINDEX "c_eki_oh_ix"
  TILEITEM "location"
  TYPE ANNOTATION
  LABELITEM "label"


  ###Z5
  CLASS
# MAXSCALE 20000 #Z5 MAX
# MINSCALE 16001  #Z5 MIN
    LABEL
       TYPE TRUETYPE
       MINDISTANCE 250
       FONT kochi-mincho
    SIZE 7.5
           COLOR 0 0 0
    #WIDTH 0.3
    POSITION AUTO
    ENCODING SJIS
           PARTIALS FALSE
    END
  END


  ###Z5
  CLASS
# MAXSCALE 20000 #Z5 MAX
# MINSCALE 16001  #Z5 MIN
    LABEL
       TYPE TRUETYPE
       MINDISTANCE 250
       FONT kochi-mincho
    SIZE 7.5
       COLOR 0 0 0
    #WIDTH 0.3
    POSITION AUTO
    ENCODING SJIS
           PARTIALS FALSE
    END
  END

 END

Uncommenting WIDTH crashes it.

Thank you in advance,
Tom 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060518/07a1a0a0/attachment.html


More information about the mapserver-users mailing list