[tex-live] win32 and Gs

Reinhard Kotucha reinhard.kotucha at web.de
Fri Dec 22 21:02:40 CET 2006

>>>>> "Staszek" == Staszek Wawrykiewicz <staw at gust.org.pl> writes:

  > Please have a look at rev. 2842: support/gs854w32-tl.zip

As far as I can see it looks good.  If you want to be sure that the
correct fonts are found just start gswin32c and type:

  /Helvetica findfont quit

You'll see on the terminal which font it actually uses.

  > it contains: 
  > - all .bat files moved to bin/ (but have changed
  > LF->CRLF :-)

Apropos, can you check which linebreaks getnonfreefonts.bat has on
your system?

I'm using the file ~/.subversion/config which had been prepared by
Karl.  There is:

# Some Windows extensions that should stay that way.
*.bat = svn:eol-style=CRLF
I expect that subversion changes the line endings to CRLF itself when
you download .bat files but it seems that it worked when I uploaded
the file first but it didn't work yesterday.

On UNIX I usually use "cat -e" to check, it is ok if lines end with
^M$.  If getnonfreefonts.bat has UNIX line endings on your system I
will correct it in the repository.  But it would be nice to know
whether the svn config file works for you.

  > - fonts included as suggested - Fontmap.TeXLive
  > changed accordingly to the same layout as in standard Gs

That's ok.  The reason I moved them into the lib directory was that it
is not necessary then to mention the font directory in GS_LIB.  But do
it as you like.

  > After unpacking it into temporary directory it can be installed,
  > eg.  setupgs.exe c:\gs so Gs is also registered in win's registry,
  > and then can be unistalled by the standard procedure.  The TL
  > installer will do that, and also set PATH and GS_LIB.

Does the uninstaller notice that the fonts are already there?  Usually
they are an extra package.

Regarding ps2eps:  I downloaded it from CTAN now.  The version there
is from spring 2004 so I suppose that this is what we actually have in
TeXLive.  ps2eps is a Perl script which uses ghostscript and a file
bbox.exe.  I suppose that Fabrice converted the Perl script to C.

However, in order to find out whether it works with gs-8.54, could you
test it with the following small (39 bytes :) file?


The BoundingBox should be 100 100 300 300.  If you get another result
or an error message "/invalidfileaccess" or so I fear we have to
update.  I can help you if necessary but I'm away from internet from
Dec 23 (evening) until Dec 26 (evening).

BTW, you can also test it with ps2epsi.

  > That's all what I can do. Now I have to return to more important
  > work for TL (introducing TeX Gyre fonts, tpm files for new win32
  > binaries and the installer, Linux binaries, etc. :-)

Nice to hear that we will have the TeX Gyre fonts in TeXLive!  I
suppose that next year, when all the lw35 fonts are available in TeX
Gyre, I assume that they will be shipped with ghostscript too, solving
a lot of problems.  I'm sure that everybody wants them.


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