I am using inkscape/gs on a Cent OS 5 server. Where do I need to put the fonts so that inkscape, which uses gs, will be able to find the fonts when it is rendering a pdf or ps file from a svg?
I am using inkscape/gs on a Cent OS 5 server. Where do I need to put the fonts so that inkscape, which uses gs, will be able to find the fonts when it is rendering a pdf or ps file from a svg?
I think you just have to put them into your ~/.fonts directory.
If you want to use them system wide, you should put them in /usr/share/fonts. That's where X.org stores it's fonts and that is where other applications will expect them to be.
The Tomcat requirement would have been nice in your initial question, btw.
You should run the command
gs -h
. This will return a little help screen, indicating 3 different areas:"-sDEVICE=..."
;Take a close look at these search paths. This is where your version of Ghostscript will look for fonts. So the easiest way would be to stuff the fonts which you want to be used by Ghostscript into one of these directories. If the directory does not exist, simply create it. Or create a symlink that points "from-where-gs-searches" to "where-the-fonts-are".
Of course, you can also add a parameter
to the commandline calling Ghostscript (I don't know, though, if Inkscape allows you to set up the exact gs command it uses....)