|
||||
[maplab-users] How to display label in Chinese?¦¿©v®i heihachi.cv90g@nctu.edu.twFri, 21 Feb 2003 23:03:12 +0800
|
This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C2D9FD.68A87920 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Kent Chiang Wrote =20 Hello Dear All I use Apache2.0.43=20 PHP4.2.1 maplab-2.0rc2 on window server 2000 =20 I'm trying to use Chinese fonts displaying my label on the map. I put the ttf file in the fonts folder, edited the fonts.txt. After editing my mapfile, I choosed the chinese as my displaying font. My map then showed random code on the place where should be my normal = characters. Is the problem caused by PHP environment setting? Or some other things to fix? =20 And there is another question. I want to enable query function on MapBrowser. I edit my mapfile, under one of the class object. I choosed "local" as my connectiontype. Then i turn the MapBrowser on, it comes some error messages. And the messages are: Warning: MapServer Error in getSymbol(): (LOCAL):(89) in = D:\Apache2\htdocs\maplab-2.0rc2\common\wrapper\map_session.php on line = 271 Fatal error: Failed to open map file c:/winnt/temp/1045821971-5274.map = in D:\Apache2\htdocs\maplab-2.0rc2\common\wrapper\map_session.php on = line 271 So it it may not be the right way to make query function work. Would u please give me some advice? Thanx!!! Best Regards!!! Kent PS:My English is quite poor,sorry about it.=20 -------------------------------------------------------------------------= ------- =20 ------=_NextPart_000_000C_01C2D9FD.68A87920 Content-Type: text/html; charset="big5" 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=3Dbig5"><BASE=20 href=3D"file://C:\Program Files\Common Files\Microsoft = Shared\Stationery\"> <META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD> <BODY=20 style=3D"BACKGROUND-POSITION: center top; FONT-WEIGHT: normal; = FONT-SIZE: 10pt; BACKGROUND-IMAGE: = url(http://skins.hotbar.com/skins/mailskins/st/030302/030302www.abms-prod= .com8_1.jpg); MARGIN: 100px 0px 0px 5px; COLOR: #181c29; = BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Arial; BACKGROUND-COLOR: = #ffffff"=20 bgColor=3D#ffffff stationery_tag_mark hbtype=3D"st" = hmark=3D"hotbar_element"> <DIV> </DIV><!--mail_content--><SPAN id=3Dhotbar_element_used=20 stationery_tag_mark> <DIV><FONT face=3DMingLiu>Kent Chiang Wrote<BR> <BR>Hello Dear=20 All</FONT></DIV> <DIV><FONT face=3DMingLiu>I use Apache2.0.43 </FONT></DIV> <DIV><FONT face=3DMingLiu> = PHP4.2.1</FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9> = maplab-2.0rc2</FONT></DIV> <DIV><FONT face=3DMingLiu> on window = server=20 2000<BR> <BR>I'm trying to use Chinese fonts displaying my label on = the=20 map.<BR>I put the ttf file in the fonts folder, edited the=20 fonts.txt.<BR> After editing my mapfile, I choosed the chinese as = my=20 displaying font.<BR> My map then showed random code on the place = where=20 should be my normal characters.<BR> Is the problem caused by PHP=20 environment setting?<BR> Or some other things to=20 fix?<BR> <BR></FONT><FONT face=3DMingLiu>And there is another=20 question.</FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9>I want to enable query function on = MapBrowser.</FONT></DIV> <DIV><FONT face=3DMingLiu> <DIV><FONT size=3D2>I edit my mapfile, under one of the class=20 object.</FONT></DIV> <DIV><FONT size=3D2>I choosed "local" as my connectiontype.</FONT></DIV> <DIV><FONT size=3D2>Then i turn the MapBrowser</FONT> <FONT = size=3D2>on, it=20 comes some error messages.</FONT></DIV> <DIV><FONT size=3D2>And the messages are:</FONT></DIV> <DIV><FONT size=3D2><FONT size=3D3><STRONG>Warning</STRONG>: MapServer = Error in=20 getSymbol(): (LOCAL):(89) in=20 <B>D:\Apache2\htdocs\maplab-2.0rc2\common\wrapper\map_session.php</B> on = line=20 <B>271</B><BR><BR><B>Fatal error</B>: Failed to open map file=20 c:/winnt/temp/1045821971-5274.map in=20 <B>D:\Apache2\htdocs\maplab-2.0rc2\common\wrapper\map_session.php</B> on = line=20 <B>271</B></FONT></FONT></DIV> <DIV> </DIV> <DIV>So it it may not be the right way to make query function = work.</DIV> <DIV> </DIV> <DIV>Would u please give me some advice?</DIV> <DIV>Thanx!!!</DIV></DIV> <DIV><BR><BR>Best Regards!!!</DIV> <DIV> </DIV> <DIV>Kent</DIV> <DIV>PS:My English is quite poor,sorry about = it. </FONT></DIV></SPAN> <DIV id=3Dhotbar_promo><BR> <HR align=3Dleft width=3D"100%" color=3Dgray noShade SIZE=3D1> <A=20 href=3D"http://promos.hotbar.com/promos/promodll.dll?RunPromo&El=3Dho= tbar%5felement%3bst%3b&SG=3D&RAND=3D94392"><IMG=20 title=3D"" alt=3D"Upgrade Your Email - Click here!"=20 src=3D'http://promos.hotbar.com/promos/promodll.dll?GetPromo&El=3Dhot= bar%5felement%3bst%3b&SG=3D&RAND=3D94392"'=20 border=3D0></A> </DIV></BODY></HTML> ------=_NextPart_000_000C_01C2D9FD.68A87920--
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |