[tex-live] win32 and Gs

Reinhard Kotucha reinhard.kotucha at web.de
Sat Dec 23 16:33:22 CET 2006


>>>>> "Akira" == Akira Kakuto <kakuto at fsci.fuk.kindai.ac.jp> writes:

  >> I'm personaly using GPL Ghostscript SVN PRE-RELEASE 8.56 and it
  >> generated a BoudingBox 100 100 300 301:

Thanks, Akira, it seems that in this case ps2epsi is more accurate.

There is obviously another problem:

  > if ($^O =~ /MSWin32/i or $^O =~ /cygwin/i) 
  >  {
  >    $ghostscriptname = "gswin32c";
  > +  $NULLDEV = "nul";
  >  } 
  >  else 
  >  {
  >    $ghostscriptname = "gs";
  > +  $NULLDEV = "/dev/null";
  >  }

In Cygwin there is /usr/bin/gs and there is also /dev/null.

This seems to be more reliable (suggested by Karl a few weeks ago when
we talked about getnonfreefonts):

if (-d /usr/bin) {
   $ghostscriptname = "gs";
   $NULLDEV = "/dev/null";
} else {
   $ghostscriptname = "gswin32c";
   $NULLDEV = "nul";
}
      
Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------




More information about the tex-live mailing list