ghostscript-8.70.pet for Puppy Linux

I have ghostscript-8.70-i486.pet for anyone who is interested. The install configuration I used was --build=i486-t2-linux --prefix=/usr --disable-gtk --with-x=no --without-x --with-fontpath=/usr/share/fonts/default/TTF --enable-dynamic --disable-cairo --disable-compile-inits --without-jasper.

Using that configuration, smaller ghostscript pet file is resulted, about 9.38MB in size. All fonts in /usr/share/ghostscript-8.70/Resource/Font was moved to default shared font directory (/usr/share/fonts/default/TTF/), and then symlinks of each font file was created into package font directory.

This pet is tested to open a pdf file under Puppy Linux 4.31, which results the following code:

root:/mnt/sdb1/PuppyDevel/texplay-devel> gs /usr/share/ghostscript/8.70/examples/annots.pdf 
GPL Ghostscript 8.70 (2009-07-31)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 6.
Page 1
Can't find (or can't open) font file /usr/share/ghostscript/8.70/Resource/Font/ArialMT.
Can't find (or can't open) font file ArialMT.
Can't find (or can't open) font file /usr/share/ghostscript/8.70/Resource/Font/ArialMT.
Can't find (or can't open) font file ArialMT.
Querying operating system for font files...
Can't find (or can't open) font file /usr/share/ghostscript/8.70/Resource/Font/ArialMT.
Can't find (or can't open) font file ArialMT.
Didn't find this font on the system!
Substituting font Helvetica for ArialMT.
Loading NimbusSanL-Regu font from /usr/share/fonts/default/TTF/NimbusSanL-Regu... 2393516 1072854 4338716 3037385 3 done.
%%BoundingBox: 84 113 530 718
%%HiResBoundingBox: 84.391029 113.957997 529.613984 717.555775
>>showpage, press <return> to continue<<
showpage
Page 2
%%BoundingBox: 84 80 528 718
%%HiResBoundingBox: 84.391029 80.270998 527.689039 717.713978
>>showpage, press <return> to continue<<
Page 3
%%BoundingBox: 84 275 528 718
%%HiResBoundingBox: 84.391029 275.511015 527.689039 717.695978
>>showpage, press <return> to continue<<
Page 4
%%BoundingBox: 84 193 528 718
%%HiResBoundingBox: 84.391029 193.190971 527.689039 717.695978
>>showpage, press <return> to continue<<
Page 5
%%BoundingBox: 84 80 528 718
%%HiResBoundingBox: 84.391029 80.751021 527.689039 717.695978
>>showpage, press <return> to continue<<
Page 6
Loading Dingbats font from /usr/X11/lib/X11/fonts/TTF/Dingbats... 3099604 1769500 5594040 4293427 3 done.
Loading NimbusSanL-Bold font from /usr/share/fonts/default/Type1/n019004l.pfb... 3236844 1908291 5694520 4385289 3 done.
%%BoundingBox: 81 369 495 703
%%HiResBoundingBox: 81.431998 369.312598 494.855985 702.323979
>>showpage, press <return> to continue<<
GS>%%BoundingBox: 0 0 0 0
%%HiResBoundingBox: 0.000000 0.000000 0.000000 0.000000
>>showpage, press <return> to continue<<
quit

There are non-existent font file warning. But, gs then replaces unfound font with available font. Although it is ok, I may have to install ghostscript-font later.

Leave a comment