I resolved the issue :) It turns out that my understanding of how Geoserver renders fonts was quite misguided. Geoserver uses the same fonts as your Java runtime. Anyone having this issue needs to go to the fonts folder of their current Java Virtual Machine, drop the .ttf file of whichever font they desire to use and then run
yum install ttmkfdir cd /opt/sun-java-1.6.0/jre/lib/fonts/ ttmkfdir -o fonts.dir Take a look at the very bottom of this page for a full description: http://geoserver.org/display/GEOSDOC/1.1.4+CentOS+%28Red+Hat%29+5.1+Install After all that is done, then you will need to go to the sld file that your layer is using and insert the font name in XML tags in the font symbolizer like : <TextSymbolizer> ... <CssParameter name="font-family">Jomolhari-ID</CssParameter> <CssParameter name="font-style">Normal</CssParameter> <CssParameter name="font-size">14</CssParameter> ... </TextSymbolizer> If all has went well and you use the exact name of your font in the SLD as shown above, then you should be able to see your labels clearly, provided that you are also using the correct font for the language desired :) I really hope this helps others! And feel free to let me know if I have made any mistakes/used wrongful terminology! Thanks, elshae -- View this message in context: http://old.nabble.com/Display-labels-in-another-language-tp29703100p29847085.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
