Hi,

On Wed, 21 Nov 2007 19:25:48 -0700 Joseph <[EMAIL PROTECTED]> wrote:

> "gs -h" gives me the following font path for Ghostscript
> Search path:
> [...]
> Where these paths are coming from?

Compiled into the binary?

> According to
> documentation: /usr/share/doc/ghostscript-esp-8.15.3/html/Use.htm The
> documentation only mention "Xfree86" display servers but I would
> imagine is it is applicable to Xorg as well. So, the fonts path from
> xorg.conf should be searchable by Ghostscript as well but they are
> not.

Hm? What makes you think so? BTW, X11 output is just one driver in
Ghostscript. It doesn't have to be present at all. So the connection
between GS and X is only a thin line...

> Ghostscript doesn't know anything about them; as one of the pdf
> document was giving me an error, I couldn't convert from pdf2ps it
> was looking for: gbsn00lp.ttf font I have this font
> in /usr/share/fonts/arphicfonts/ Only when I created a link
> in: /usr/share/fonts/default/ghostscript/
> 
> ln -s /usr/share/fonts/arphicfonts/gbsn00lp.ttf gbsn00lp.ttf
> to this font it converted from pdf2ps

Yes, might happen. But it is common sense that you should embed all
needed fonts into the PDF anyway. For older versions of PDFs there was
an exception for the Base14 fonts, and those are (by means of
replacement versions) accessible from GS' own font store (the path you
said is present and works). You never know at a later point in time
whether you have the right font, with the right encoding: even if the
name matches you can't be sure.

> Shouldn't "gs -h" show list of path fonts from xorg.conf file?

No. If you run it that way, there's no X needed anyway. And "gs -h"
should just show what is configured.

-hwh
-- 
[EMAIL PROTECTED] mailing list

Reply via email to