diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-03 18:31:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-03 18:31:22 +0000 |
commit | 5c627c8066bc3d073519704718fffb64af14609a (patch) | |
tree | 25ccc61aba3a849fd39148531748b1ec9be530a5 /Master/texmf-dist/tex/generic/pst-geo/dataII | |
parent | daeaddcef56178dd571d9c813fbdde669ec40f34 (diff) |
pst-geo update (31aug09)
git-svn-id: svn://tug.org/texlive/trunk@15032 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-geo/dataII')
23 files changed, 86 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/README b/Master/texmf-dist/tex/generic/pst-geo/dataII/README new file mode 100644 index 00000000000..bd25910dd4e --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/README @@ -0,0 +1,86 @@ +Project pst-geo-compress 2009-07-30 +======================== + +Author: Heiko Oberdiek <oberdiek@uni-freiburg.de> +License is LPPL 1.3c, + maintainance status: maintained + current maintainer: author + +Files: + README (this file) + pst-geo-compress.pl + pst-geo-decompress.pl + +Requirements: Ghostscript >= 8.56 (if prediction is used) + +`pst-geo' (CTAN:graphics/pstricks/contrib/pst-geo/) comes with +huge data files: + CTAN:graphics/pstricks/contrib/pst-geo/data/data.tgz + CTAN:graphics/pstricks/contrib/pst-geo/dataII/dataII.tgz +Unpacked the data files consume about 134 MB. + +The data files (files with extension `.dat') are PostScript files. +PostScript supports compression and decompression via filter. +The Perl script `pst-geo-compress.pl' compresses the data files +using the /FlateEncode filter and adds code to decompresses the file, +if read by a PostScript interpreter. Now the space requirements of +the data files is about 24 MB. + +Caveat: Filters /FlateEncode and /FlateDecode require +PostScript language level 3 (supported by ghostscript). +(LZW compression don't need language level 3, but +the compression is less effective.) + +Size reduction details: +* Much unnecessary white space is removed. +* Some comments are removed (especially number comments + in .dat files of data.tgz), the remaining comments are preserved + (especially city names). +* /FlateEncode filter. +* PNG prediction (method `up') is used for most of the files. + Spaces at line ends are added to fill the space up to + to the columns count. This improves the prediction, + because these files contains long lists of sorted coordinate pairs. + The prediction columns count is also the maximal line length, + because of a ghostscript bug: + +Ghostscript has a bug regarding prediction, it is fixed in +version 8.56 (2007-03-14): + +| 2006-12-11T17:30:53.980862Z L. Peter Deutsch +| +| Fixes bug: the PNG predictor filters produced incorrect data for the last +| pixel of each row. (The encoder and decoder had matching bugs, so +| encode+decode produced the correct result!) Fixes a diff in PS3 CET +| 23-12U-1. + +By having each line at the same length, the last byte of a row +has always the same value (end of line character). This does +not trigger this bug (tested with gs 7.07/8.64). + +After compression the files aren't human-readable any more. +The Perl script `pst-geo-decompress.pl' can be used to +decompress a data file. + +Both scripts know option -h that prints a short usage screen. +Option --gscmd allows to configure the ghostscript programm call, +if the automatic ghostscript isn't sufficient. + +`pst-geo-compress.pl' is called inside the directory where +the data files are present. Options `-1' and `-2' choose +between the files from `data.tgz' and `dataII.tgz'. + +`pst-geo-decompress.pl' expects the data file to decompress. +If an output file is given, the result is stored there. Otherwise +standard output is used. + +History: + 2009-07-30 v1.0 First release + 2009-07-30 v1.1: + * Workaround for ghostscript bug added: + * Files that are compressed with prediction have + equal line length. + * Removing comments (except for city data files) + * Obsolete option --prediction is therefore removed + * Adding standalone test mode (option `--test'). + diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/africa-bdy.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/africa-bdy.dat Binary files differnew file mode 100644 index 00000000000..b9431a079eb --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/africa-bdy.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/africa-cil.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/africa-cil.dat Binary files differnew file mode 100644 index 00000000000..d7736053baf --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/africa-cil.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/africa-riv.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/africa-riv.dat Binary files differnew file mode 100644 index 00000000000..fd1f33180fc --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/africa-riv.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-bdy.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-bdy.dat Binary files differnew file mode 100644 index 00000000000..7001f12c475 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-bdy.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-cil.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-cil.dat Binary files differnew file mode 100644 index 00000000000..94a995292f1 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-cil.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-isl.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-isl.dat Binary files differnew file mode 100644 index 00000000000..7ecf8eac79b --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-isl.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-riv.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-riv.dat Binary files differnew file mode 100644 index 00000000000..4e5d0838259 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/asia-riv.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/c-cap.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/c-cap.dat Binary files differnew file mode 100644 index 00000000000..27e4e77adb1 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/c-cap.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/c-sub.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/c-sub.dat Binary files differnew file mode 100644 index 00000000000..10f9bf0280e --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/c-sub.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/citycapitals.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/citycapitals.dat Binary files differnew file mode 100644 index 00000000000..692ad8410dd --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/citycapitals.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/citysub.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/citysub.dat Binary files differnew file mode 100644 index 00000000000..7b562e138d7 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/citysub.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/europe-bdy.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/europe-bdy.dat Binary files differnew file mode 100644 index 00000000000..00c1ee3dc4c --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/europe-bdy.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/europe-cil.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/europe-cil.dat Binary files differnew file mode 100644 index 00000000000..ebfd49d03d6 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/europe-cil.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/europe-riv.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/europe-riv.dat Binary files differnew file mode 100644 index 00000000000..5b9c648645a --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/europe-riv.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-bdy.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-bdy.dat Binary files differnew file mode 100644 index 00000000000..3df82e7c3a7 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-bdy.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-cil.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-cil.dat Binary files differnew file mode 100644 index 00000000000..721aadcfeea --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-cil.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-pby.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-pby.dat Binary files differnew file mode 100644 index 00000000000..bd8a7cb22bf --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-pby.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-riv.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-riv.dat Binary files differnew file mode 100644 index 00000000000..f774bbbbf73 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/namer-riv.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-arc.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-arc.dat Binary files differnew file mode 100644 index 00000000000..e317838e234 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-arc.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-bdy.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-bdy.dat Binary files differnew file mode 100644 index 00000000000..297edec94d1 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-bdy.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-cil.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-cil.dat Binary files differnew file mode 100644 index 00000000000..91233dbc076 --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-cil.dat diff --git a/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-riv.dat b/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-riv.dat Binary files differnew file mode 100644 index 00000000000..dd22d8f1b8e --- /dev/null +++ b/Master/texmf-dist/tex/generic/pst-geo/dataII/samer-riv.dat |