On Fri, Oct 22, 2010 at 5:22 PM, Freeman, Aleda (EEA)
<aleda.free...@state.ma.us> wrote:
> 4)       I’ve read that the fonts need to be accessible to Java – I found 
> this on the list:
>
> Copy whatever you need to a path guaranteed to be read by Java, which in our 
> case is /opt/sun-java-1.6.0/jre/lib/fonts/
>
> First install the fonts you want. The MS Core Fonts (Arial, Times New Roman, 
> Verdana etc.) can be installed by following the instructions on 
> http://corefonts.sourceforge.net/.
>
> Now copy the .ttf files to /opt/sun-java-1.6.0/jre/lib/fonts/ , install 
> ttmkfdir and then run it:
>
> yum install ttmkfdir
>
> cd /opt/sun-java-1.6.0/jre/lib/fonts/
>
> ttmkfdir -o fonts.dir

This looks more or less right, though it's been a very long time since
I last did that, in Ubuntu I just have a GUI way to install a font
(right click the font and choose "install").

As a side note, on GeoServer 2.1.x you can just drop the fonts in the
"styles" directory and GeoServer will recognize them.
This does not work on 2.0.x unfortunately

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to