Ghostscript in Medley ===================== gs.js and gs.wasm in this folder are GPL Ghostscript 10.08.0 (https://www.ghostscript.com), compiled to WebAssembly with Emscripten 7.0.3. Medley's EPS to PDF, PostScript to PDF, PDF to PDF/A, EPS to PNG and EPS to JPG tools load them in your browser; no other page loads them. Licence: GNU Affero General Public License version 3 or later (LICENSE.txt), with the notes of Artifex in LICENSE-Ghostscript.txt. Ghostscript comes with no warranty, to the extent permitted by law (LICENSE.txt, sections 15 and 16). Source code (the Corresponding Source of gs.js and gs.wasm), from this folder: ghostscript-10.08.0.tar.xz the official Ghostscript 10.08.0 release archive, not changed 69197208 bytes, SHA-256 c20492bc8ebb96c87fa2e52a0926e1cda8cde95d66145e018ac713fed5da38cf also at https://github.com/ArtifexSoftware/ghostpdl-downloads/releases build.sh the script that configured and compiled it, with the exact Emscripten version: bash build.sh writes /out/gs.js and /out/gs.wasm Medley does not change the Ghostscript source. build.sh only selects options (devices, no OCR, no threads). gs.js: 69861 bytes, SHA-256 db4cf236d93a9cdcff63988eb11ea7914f3ce4d5845aacab2092940d01a69d17 gs.wasm: 15264092 bytes, SHA-256 1352741aff2f9dc170ee0b1030177fae0c84cbd3c4eaa70d4d490d28b60a8442 gs-worker.js is Medley's own code: it loads gs.js and runs one Ghostscript command for each file. You can replace gs.js and gs.wasm with your own build of the same interface (an Emscripten module with FS and callMain). Files that these tools make are yours. The fonts that Ghostscript puts into a PDF carry the font exception in LICENSE-Ghostscript.txt.