=========================================
The pstoedit people on the other hand side introduced the following in pstoedit 3.71:
(in pstoeditoptions.h:)
-----------------------
// with support for -DREALLYDELAYBIND - needed for gs9.22
#define WITHRDB 1
#if WITHRDB
OptionT < bool, BoolTrueExtractor > reallydelaybindversion ;//= false;
// use REALLYDELAYBIND instead of DELAYBIND which not supported in gs 9.22
#endif
(in pstoedit.cpp:)
------------------
#if WITHRDB
}
else if (options.reallydelaybindversion) {
commandline.addarg("-dREALLYDELAYBIND");
#endif
}
else {
commandline.addarg("-dDELAYBIND");
}
=========================================
So this clearly explains the observations mentioned above. However, under Windows pstoedit 3.71 fails on gs 9.22 despite what is found in the source code :-(
Anyway, since gs 9.22 throws a precise error message we can catch it and give advice to the user.
OK, I will implement it.
W.r.t. to the versions I did some further tests (and have to partially correct my assumptions):
pstoedit 3.70 + gs <= 9.21 or gs == 9.23 --> OK
pstoedit 3.71 with any gs version --> OK (theoretically, see comment below)
pstoedit 3.70 + gs 9.22 --> NOT OK
History:
========
gs 9.21 was released on 2017-03-16
The gs team deprecated DELAYBIND in the following commit on 2017-06-17: git.ghostscript .com/?p= ghostpdl. git;a=commitdif f;h=8f796773b5a ae90362ec500d94 2dc38e6a1f0f6b
http://
This went into gs 9.22, released on 2017-10-04
The gs team re-introduced DELAYBIND in the following commit on 2017-11-16: git.ghostscript .com/?p= ghostpdl. git;a=commitdif f;h=fa499a5809a ab45b2891b5c8b2 363d1bca890757
http://
(see last paragraph of commit message)
This went into gs 9.23, released on 2018-03-21
======= ======= ======= ======= ======= ======
The pstoedit people on the other hand side introduced the following in pstoedit 3.71:
(in pstoeditoptions.h:) ------- ------- --
-------
// with support for -DREALLYDELAYBIND - needed for gs9.22
#define WITHRDB 1
#if WITHRDB version ;//= false;
OptionT < bool, BoolTrueExtractor > reallydelaybind
// use REALLYDELAYBIND instead of DELAYBIND which not supported in gs 9.22
#endif
(in pstoedit.cpp:) reallydelaybind version) { ne.addarg( "-dREALLYDELAYB IND"); ne.addarg( "-dDELAYBIND" );
------------------
#if WITHRDB
}
else if (options.
commandli
#endif
}
else {
commandli
}
======= ======= ======= ======= ======= ======
So this clearly explains the observations mentioned above. However, under Windows pstoedit 3.71 fails on gs 9.22 despite what is found in the source code :-(
Anyway, since gs 9.22 throws a precise error message we can catch it and give advice to the user.