Loading CHANGES.txt +56 −9 Original line number Diff line number Diff line Changes ================== 0.8 (unreleased) 0.8 (2025-05-28) ---------------- - Nothing changed yet. Bugfixes: * Fix unnecessary runtime dependency on setuptools. High-level API: * Explicitly require a first argument called "progname". This is to avoid the common error not passing a progname by pointing users to it. This is fully backward compatible * Issue a warning if first argument looks like an option. * Fix crash if gs.new_instance() fails. Low-level API: * Breaking change (only effecting the low-level API): init_with_args() no longer catches e_Quit, but raises an exception like for any other error except e_Info. * Pass correct value to gslib if user_error is set. Improved Documentation: * Enhance documentation * Add some doc-strings. * Fix some linting issues. Misc: * Add testing with Python 3.10, 3.11, 3.12 and 3.13. * Revise testing, packaging and CI/CD. * Make tests independent of fonts, thus avoiding test failures. * Enhance examples. 0.7 (2021-03-06) Loading Loading @@ -36,7 +76,8 @@ Changes Minimum required Python version is now 3.6. :0.6 (2018-01-16): 0.6 (2018-01-16) ---------------- * Add support for Python 3.x (tested with Python 3.4). Minimum required Python version is now 2.7. Loading @@ -63,19 +104,22 @@ Changes * Set up continuous integration tests. :0.5 (skipped): 0.5 (skipped) ------------- * v0.5 was skipped to avoid version conflicts with fork `python3-ghostscript`. All changes of that fork are integrated into v0.6. :0.4.1 (2011-02-09): 0.4.1 (2011-02-09) ------------------ * Fixed import module on Windows XP. Thanks to Akihiro Takizawa for the patch. :0.4 (2011-01-29): 0.4 (2011-01-29) ---------------- * Fixed typo in function call name ctypes.util.find_library Loading @@ -92,7 +136,8 @@ Changes * Added win32 example-batch file for testing and other improvements/fixes on examples an documentation. :0.3 (2010-08-12): 0.3 (2010-08-12) ---------------- * Added support for win32: The DLL to load is searched in registry. Loading @@ -106,11 +151,13 @@ Changes * Added nice project logo :0.2 (2010-08-06): 0.2 (2010-08-06) ---------------- * Fixed several bugs, esp. for running strings by Ghostscript. :0.1 (2010-08-06): 0.1 (2010-08-06) ---------------- * This is the first public release of the Python Ghostscript C-API interface. Loading README.rst +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ Python-Interface to the Ghostscript C-API --------------------------------------------------------------------- :Author: Hartmut Goebel <h.goebel@crazy-compiler.com> :Version: 0.7.dev0 :Version: 0.8 :License: GNU General Public License v3 or later (GPLv3+) :Homepage: https://gitlab.com/pdftools/python-ghostscript Loading ghostscript/_gsprint.py +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ ghostscript._gsprint - A low-lewel interface to the Ghostscript C-API using ctyp __author__ = "Hartmut Goebel <h.goebel@crazy-compilers.com>" __copyright__ = "Copyright 2010-2023 by Hartmut Goebel <h.goebel@crazy-compilers.com>" __licence__ = "GNU General Public License version 3 (GPL v3)" __version__ = "0.8.dev0" __version__ = "0.8" from ctypes import * import sys Loading Loading
CHANGES.txt +56 −9 Original line number Diff line number Diff line Changes ================== 0.8 (unreleased) 0.8 (2025-05-28) ---------------- - Nothing changed yet. Bugfixes: * Fix unnecessary runtime dependency on setuptools. High-level API: * Explicitly require a first argument called "progname". This is to avoid the common error not passing a progname by pointing users to it. This is fully backward compatible * Issue a warning if first argument looks like an option. * Fix crash if gs.new_instance() fails. Low-level API: * Breaking change (only effecting the low-level API): init_with_args() no longer catches e_Quit, but raises an exception like for any other error except e_Info. * Pass correct value to gslib if user_error is set. Improved Documentation: * Enhance documentation * Add some doc-strings. * Fix some linting issues. Misc: * Add testing with Python 3.10, 3.11, 3.12 and 3.13. * Revise testing, packaging and CI/CD. * Make tests independent of fonts, thus avoiding test failures. * Enhance examples. 0.7 (2021-03-06) Loading Loading @@ -36,7 +76,8 @@ Changes Minimum required Python version is now 3.6. :0.6 (2018-01-16): 0.6 (2018-01-16) ---------------- * Add support for Python 3.x (tested with Python 3.4). Minimum required Python version is now 2.7. Loading @@ -63,19 +104,22 @@ Changes * Set up continuous integration tests. :0.5 (skipped): 0.5 (skipped) ------------- * v0.5 was skipped to avoid version conflicts with fork `python3-ghostscript`. All changes of that fork are integrated into v0.6. :0.4.1 (2011-02-09): 0.4.1 (2011-02-09) ------------------ * Fixed import module on Windows XP. Thanks to Akihiro Takizawa for the patch. :0.4 (2011-01-29): 0.4 (2011-01-29) ---------------- * Fixed typo in function call name ctypes.util.find_library Loading @@ -92,7 +136,8 @@ Changes * Added win32 example-batch file for testing and other improvements/fixes on examples an documentation. :0.3 (2010-08-12): 0.3 (2010-08-12) ---------------- * Added support for win32: The DLL to load is searched in registry. Loading @@ -106,11 +151,13 @@ Changes * Added nice project logo :0.2 (2010-08-06): 0.2 (2010-08-06) ---------------- * Fixed several bugs, esp. for running strings by Ghostscript. :0.1 (2010-08-06): 0.1 (2010-08-06) ---------------- * This is the first public release of the Python Ghostscript C-API interface. Loading
README.rst +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ Python-Interface to the Ghostscript C-API --------------------------------------------------------------------- :Author: Hartmut Goebel <h.goebel@crazy-compiler.com> :Version: 0.7.dev0 :Version: 0.8 :License: GNU General Public License v3 or later (GPLv3+) :Homepage: https://gitlab.com/pdftools/python-ghostscript Loading
ghostscript/_gsprint.py +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ ghostscript._gsprint - A low-lewel interface to the Ghostscript C-API using ctyp __author__ = "Hartmut Goebel <h.goebel@crazy-compilers.com>" __copyright__ = "Copyright 2010-2023 by Hartmut Goebel <h.goebel@crazy-compilers.com>" __licence__ = "GNU General Public License version 3 (GPL v3)" __version__ = "0.8.dev0" __version__ = "0.8" from ctypes import * import sys Loading