On 22/09/2010 23:15, elshae wrote:
>
>
> Ian Turton wrote:
>>
>> Change the font-family to a font that has the characters of your
>> required language. Times New Roman has some accents I believe but for
>> really different character sets you'll need a specialised font.
>>
>> Ian
>> --
>> Ian Turton
>>
>>
>
> Hmmm I have tried with all of the usual fonts Arial, Verdana, Times New
> Roman.  Even if I do specify some specialized font in my SLD and install
> that font on my OS, how can I be certain that my labels will always display
> in let's say Chinese?  I want to basically do what Google has done, the
> Chinese names on their map always display as Chinese in the browser.  I
> really must be missing something here :-/

The cases I've seen that displayed chinese chars required two things
to work properly:
- a specialized font supporting chinese characters (I don't think any
   of the ones you cited supports chinese)
- setting the proper encoding in the data sources (in that case it
   was a shapefile)

Afaik OpenStreetMap uses a special font that supports most asian
scripts, see here: 
http://wiki.openstreetmap.org/wiki/Mapnik#Optional:_CJK_font_fallback_support

Hope this helps

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
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