[tex-live] tlgs on windows, cjk-gs-integrate support

Reinhard Kotucha reinhard.kotucha at web.de
Sat Apr 22 23:46:17 CEST 2017


On 2017-04-21 at 18:12:47 +0900, Akira Kakuto wrote:

 > Hi,
 > 
 > > Reinhard, would it be possible to recompile gs in a way that the
 > > resource dirs are not compiled into the binary?
 > 
 > Our interested CJK fonts are only searched in Resource/CIDFont,
 > Resource/Font.
 > 
 > Please test
 > http://www.w32tex.org/toolsw32/tlgs.zip
 > if it is usable or not as tlgs.
 > 
 > fonts and lib directories are those of the present TeX Live tlgs.
 > bin, iccprofiles, kanji, Resource directories are from my
 > gs921w32full-gpl.exe.  All dirctories are needed, but the directory
 > kanji is not used usually.

Hi,
I just see what went wrong.  Because I don't have Windows and thus
can't compile the binaries myself, I install the Windows distribution
of Ghostscript using Wine on my machine and. 

However, the Windows version seems to be crippled.  I can see the
directories you mentioned in the sources (ghostscript-9.21.tar.xz) but
they are not included in gs921w32.exe.

  /home/reinhard/.wine/drive_c/Program Files/gs/gs9.21:
  total used in directory 104 available 30231864
  drwxr-xr-x  9 reinhard users  4096 Mar 20 00:54 .
  drwxr-xr-x 12 reinhard users  4096 Mar 20 00:54 ..
  drwxr-xr-x  2 reinhard users  4096 Mar 20 00:54 bin
  drwxr-xr-x  3 reinhard users  4096 Mar 20 00:54 doc
  drwxr-xr-x  3 reinhard users  4096 Mar 20 00:54 examples
  drwxr-xr-x  2 reinhard users 12288 Mar 20 00:54 lib
  drwxr-xr-x  3 reinhard users  4096 Mar 20 00:54 libpng
  drwxr-xr-x  3 reinhard users  4096 Mar 20 00:54 openjpeg
  -rwxr-xr-x  1 reinhard users 61409 Mar 20 00:54 uninstgs.exe
  drwxr-xr-x  3 reinhard users  4096 Mar 20 00:54 zlib

My scripts currently just put the bin/ and lib/ directory into tlgs/
and add a font/ directory containing the URW fonts maintained by
Walter Schmidt.  I'll adapt them now so that they copy the missing
directories from ghostscript-9.21.tar.xz (the source distribution) and
we can adapt runscript.tlu accordinly.

But which files in these directories are actually needed?  In
Resource/Font I see Nimbus* and URW* and I don't know what they are
good for.  Resource/CIDFont doesn't contain any Japanese fonts.  How
do they get there?

Regards,
  Reinhard

-- 
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de
------------------------------------------------------------------


More information about the tex-live mailing list