Andrea Aime-4 wrote:
> 
> Generally speaking, find a font that displays the chinese chars the
> way you like on your platform and use its name in the SLD.
> 
> Hope this helps
> 
> Cheers
> Andrea
> 

Hello, I am having this issue now.  In my case I have the chinese and
Tibetan names of countries stored in a database and want to display the
names as labels on a map.  I have tried these suggestions but only get
square characters as mentioned above.  My SLD code for textsymbolizer is as
such:
<?xml version="1.0" encoding="UTF-8"?>
...
...
  <TextSymbolizer>
          <label><ogc:PropertyName>name</ogc:PropertyName>
          </label>

    
        <CssParameter name="font-style">Normal</CssParameter>
        <CssParameter name="font-size">10</CssParameter>
    
                        
    <Fill>
        <CssParameter name="fill">#000000</CssParameter>
    </Fill>
</TextSymbolizer>
..

But it's still a no-go :(.  Any suggestions would be greatly appreciated.

Thank you,

elshae

-- 
View this message in context: 
http://old.nabble.com/Chinese-font-family-in-sld--tp23540402p29709236.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to