Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

I think you just have to put them into your ~/.fonts directory.

share|improve this answer
this is for a tomcat installation. I will give it a try. – Milhous May 20 '09 at 14:49

If you want to use them system wide, you should put them in /usr/share/fonts. That's where 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.

share|improve this answer

You should run the command gs -h. This will return a little help screen, indicating 3 different areas:

  • some possible commandline switches for gs;
  • a list of builtin "devices" (=drivers) which may be used with "-sDEVICE=...";
  • a list of "search paths", some of which will obviously be font related.

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.