About mapserver 4.4.1 and Chinese problem

Mario H. Basa mhbasa at YAHOO.COM
Fri Mar 18 00:33:04 EST 2005


Hello,

I am not so familliar with the font you are using, but
this is what we used to test Chinese support:

  LAYER
   NAME "myline"
   TYPE line
   DATA myline
   STATUS DEFAULT

   LABELITEM "ZHNAME"

   CLASS
    NAME "myline"
    COLOR 227 27 227
    LABEL
      TYPE TRUETYPE
      ENCODING GB2312
      FONT "gbsn00lp"

      FORCE TRUE
      SIZE 10
      COLOR 0 0 0
      ANGLE AUTO
    END
   END
  END

Can you try using gbsn00lp as your font, and see if
the labels display well. The font is part of Fedora.

Regards,

mario
yokohama,japan




--- "Tinmean K. H. Liu" <tinmean at YAHOO.COM.TW> wrote:
> Hi,
>
>    I installed mapserver 4.4.1 by using apt under
> Fedora Core 2.
>    From the "what's new" and mapfile reference, I
> use "encoding" in my mapfile.
>    It looks like:
>
> LAYER
>   NAME Hchc_river
>   TYPE LINE
>   STATUS ON
>   DATA Hchc_river
>   LabelItem "NAME"
>   #CLASSITEM "NO"
>   CLASS
>     NAME "Hchc_river"
>     COLOR 0 0 255
>     LABEL
>       COLOR 0 0 0
>       TYPE TRUETYPE
>       FONT moe_kai
>       SIZE 8
>       POSITION AUTO
>       PARTIALS FALSE
>       OUTLINECOLOR 255 255 255
>       ENCODING BIG5
>     END
>   END
>   TOLERANCE 5
> END
>
>     And I have an example in my site:
> http://140.113.223.74/hc_river/hello.phtml
>
>    The right code(BIG5), the right font, but failed.
>    Thanks for any response.
>
> Tinmean K. H. Liu
>



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/



More information about the mapserver-users mailing list