[Gsview] Sharing files between Linux and Windows
Russell Lang
gsview@ghostgum.com.au
Sun, 13 Jul 2003 21:03:06 +1000
On 12 Jul 2003 at 22:43, Yuval Krymolowski wrote:
> I wonder whether it would be possible for the Windows and Linux
> versions of ghostview to use the same font files. I have a dual-boot
> laptop and this could save me disk space.
>
> What I had in mind is something like
> - install gsview and ghostscript for windows
> - in linux, where the font would be under some directory
> in /usr, change the font references to point at
> the windows partition.
>
> Do you think this may work? or can it be possible anyhow?
Yes, no major problems. The fonts are identical. So you need
to tell the Linux ghostscript where the fonts are located in
Windows. See the ghostscript file doc/Use.htm for the
description on how it finds fonts. You either need to recompile
and add the Windows path, add -Isomething to the command line,
set the GS_LIB environment variable, or make a path already
searched by GS be a symlink to the Windows font files.
Unless you have a large number of custom fonts, you aren't going
to save much. The standard fonts used by Ghostscript on Linux
are already shared with other Linux applications, so you can't
remove these from Linux.
Russell Lang gsview@ghostgum.com.au
Ghostgum Software Pty Ltd http://www.ghostgum.com.au/