Hi Jitendra,

Well, a recent addition to GeoServer was the ability to add fonts just by
copying them into the styles/ directory - but it only works with
TrueTypeFonts.  I believe it is possible to use OTF fonts with Java and
GeoServer by installing them using the system font configuration, but the
details of this vary by operating system.  Another option might be to use
some software to convert the OTF font files to TTF format, then GeoServer
should be able to render them directly.

I recently ran into a similar issue trying to find a font capable of
rendering Chinese text, and came up with a little bit of JavaScript to help
find fonts suitable for rendering given text, I posted it at
https://gist.github.com/1285284 .

When I ran it it generated the following output:

> $ jrunscript fonts.js
> Droid Sans Fallback
> Droid Sans Japanese


So in the styles for my layers with Chinese labels I wrote:

<TextSymbolizer>
>   <Font>
>     <CssParameter name="font-family">Droid Sans Fallback</CssParameter>
>   </Font>
> </TextSymbolizer>


And now the labels show up as expected.

--
David Winslow
OpenGeo - http://opengeo.org/

On Sat, Oct 15, 2011 at 1:37 AM, jitendra <[email protected]> wrote:

> This is to enquire if any one has attempted to render unicode indic scripts
> with OpenType fonts in geoserver
>
>
> --
> jitendra
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to