Skip to content

pscat 0.7.1

Choose a tag to compare

@github-actions github-actions released this 26 Nov 20:10
· 110 commits to main since this release
f793942

Features and changes

  • docs: one page for every AI client, local and cloud routes (#1136) (#1430)
  • dkstroke, dycrayon, dhstroke: /From /To draw part of a stroke with the whole stroke's profile (#1418) (#1423)
  • ops: add the Ghostscript =only and ==only operators (#1413) (#1424)
  • library: a host API for embedding applications (pscat::host) (#1410)
  • release: attach the hosted ChatGPT plugin ZIP as a release asset (#1253) (#1397)
  • release: attach pscat.global.js to each GitHub release, and type its global (#1108) (#1396)
  • graphics: transparency groups (begingroup/endgroup) for raster, PDF and SVG (#1406) (#1417)
  • drychalk: /From /To draw part of a stroke with the whole stroke's pressure and texture (#1409) (#1416)
  • Interp drop: tolerate a destroyed thread-local in array teardown (#1404) (#1411)
  • halftonekit: a line or cross screen fades smoothly at tiny tones (#1408) (#1415)
  • PDF text by default: --text-as-paths opts out (#1026) (#1398)
  • pscat lib remove NAME [--force] (#1345) (#1395)
  • pscat lib install: sweep the stage a killed install left, and list it (#1344) (#1394)
  • currentfilename docs: the dirname helper splits on / and \ (#1346) (#1393)
  • currentfilename operator and pscat lib install/list (#1056) (#1331)
  • npm.yml: install the packed tarball on macOS and Windows (#1348) (#1391)
  • Patterns: place cells where gs puts the /BBox corner (#1342) (#1387)
  • CI: install poppler on Linux and require it so the pdftotext/pdftoppm tests run (#1206) (#1352)
  • release-check: install the npm package after publish (#668) (#1347)
  • patterns: an inner pattern in an uncoloured PaintProc paints its coverage in the outer colour in SVG and PDF too (#1340) (#1386)
  • shfill: mesh shadings, ShadingType 6 and 7 (Coons and tensor-product patches) (#1325) (#1377)
  • shfill: mesh shadings, ShadingType 4 and 5 (Gouraud triangle meshes), also as shading patterns (#1325) (#1376)
  • patterns: TilingType 2 cells keep their size and the spacing varies, as in gs (#1332) (#1372)
  • Shading patterns: makepattern PatternType 2 for axial, radial and function shadings in PNG, SVG and PDF (#1298) (#1367)
  • lint: a def inside a body reports the line it is written on (#1338) (#1365)
  • systemdict is read-only: an operator-name store raises invalidaccess as in gs; lint reports the refused store (#1337) (#1359)
  • review_sheet: sweeps, captions, values, cols and per-cell mats over MCP (#1339) (#1360)
  • tests: wait for a child's pipes to reach EOF instead of timing a 2 s window (#1335) (#1361)
  • patterns: run a PaintProc at the pattern's first use, as Ghostscript does (#1341) (#1358)
  • A ShadingType 1 Domain pair equal in f32 paints nothing, as gs does (#1333) (#1357)
  • Executable strings: exit through a string frame, noaccess strings and //s run as in Ghostscript (#1321) (#1349)
  • svg: a pattern's captured defs are written once, ids no longer repeat (#1343) (#1353)
  • lint: [stack-leak] says where the oldest leftover item came from (#1081) (#1351)
  • tests: the shfill legs check counts the work charged, not Windows wall time (#1336) (#1355)
  • shfill: an extreme /BBox no longer panics the raster path (#1324) (#1350)
  • tests: switch the local Ghostscript probes to common::gs_available() (#1354)
  • patterns: a pattern paints in another context, placed as gs places it (#1300) (#1330)
  • contact_sheet: one composition path shared by pscat sheet and review_sheet (#744) (#1329)
  • shfill: ShadingType 1 (function-based) and FunctionType 0 in PNG, SVG and PDF (#1039, part 1) (#1322)
  • chalk: --hand and chalkboard_math hand for freehand chalk strokes (#1111) (#1326)
  • lint: [shadowed-operator] names the line and sees store/put into systemdict (#1109) (#1323)
  • npm tarball test: check that pscat/node.js resolves after a clean install (#1327)
  • pdf: --pdf-text writes Symbol and ZapfDingbats glyphs as text (#1026) (#1305)
  • describe_art_capabilities and --capabilities: name, kind, source filters and a brief form (#1079) (#1291)
  • release.yml: drop the ref dispatch input, check out github.sha (CodeQL cache-poisoning alerts, #669) (#1318)
  • fuzz: a target asserting check_syntax never panics (#1134) (#1313)
  • ci: run the CLI-vs-wasm pdfmark byte check in the npm workflow (#1104) (#1283)
  • mcp: an svg_text option on render_postscript and start_render (#1132) (#1319)
  • procedures: run an executable string or file met in an executing procedure, as Ghostscript does (#1122) (#1320)
  • imagemask paints the current pattern through its stencil in PNG, SVG and PDF (#1299) (#1317)
  • chalk: support the escaped literals $ % & # _ (#1160) (#1315)
  • svg: shfill's degenerate cases match the PNG; equal concentric circles decided (#1041) (#1314)
  • binary sequences: charge the decode budget so --max-time and --max-steps stop a long decode (#1123) (#1309)
  • npm: PostScriptError.file and runChain for errors raised inside a run file (#1308)
  • PR template: use the self-contained Decision block from #1147 (#1164) (#1316)
  • render: composite fills and glyphs at 16 bits so faint layers stack to the float value (#731) (#1306)
  • mcp: a failed render keeps the lint note that can explain the error (#1110) (#1307)
  • wasm: ps_page_count calls Interp::page_count instead of its own copy of the rule (#1162) (#1304)
  • Tiling patterns: makepattern, setpattern and /Pattern in PNG, SVG and PDF (#1038, part 1) (#1301)
  • chalkboard: user_output leaves the CKPROBLEM check lines out of the program's output (#1252) (#1302)
  • fonts: a missing glyph advances by a space on the standard 35, as in Ghostscript (#1115) (#1297)
  • drychalk: dcleader dots clear the last letter and hold over smudges (#1112) (#1312)
  • functional showcase: regenerate three PNGs that predate the pHYs chunk (#1030) (#1311)
  • pscat sheet: --captions and --no-values for a sweep's captions (#1000) (#1289)
  • tests: kernels join-scaling test compares growth ratios, not a Windows-flaky budget (#1293) (#1310)
  • Level 2 VM: gcheck and globaldict (#1288)
  • cli: pscat fonts and sweep frames stop quietly on a closed stdout (#1117) (#1285)
  • functional-postscript docs: remove agent logs and validation transcripts, dedupe a PNG, merge design notes (#1169) (#1303)
  • tests: the closed-stdout tests close the reader before spawning (#1294, #1201) (#1296)
  • paintkit: pkpaper honours the caller's setalpha, like pkwash (#1161) (#1295)
  • tests: stop three pipe-timing tests flaking on a loaded Mac (#1118) (#1292)
  • artkit: axialsh/radialsh pad by default (/Extend [true true]); bands opt out (#1286) (#1290)
  • examples/hybrid: /Extend [true true] on the sky_talk and alpine_trail shadings (#1251) (#1284)

Each archive carries the licences (LICENSE-MIT, LICENSE-APACHE, LICENSE-OFL), THIRD_PARTY_NOTICES.md and the dependency notices (THIRD_PARTY_LICENSES.html). pscat-0.7.1.tgz is the npm package (WebAssembly, for the browser and Node); the same file that is published to npm. Install it from this release with npm install https://github.com/PSCatLabs/pscat/releases/download/v0.7.1/pscat-0.7.1.tgz. pscat.global.js is the classic-script build of that package, for a page with no npm: <script src="https://github.com/PSCatLabs/pscat/releases/download/v0.7.1/pscat.global.js">. pscat-cloud-chatgpt-plugin-0.7.1.zip is the pscat-cloud plugin for ChatGPT, connected to the hosted pscat-mcp server. Upload it as a plugin; docs/guides/chatgpt-hosted.md has the steps. SHA256SUMS has the SHA-256 of every archive and of the npm package and of the script and of the ChatGPT plugin; release-manifest.json records the commit they were built from. Install guide: https://github.com/PSCatLabs/pscat/blob/main/docs/guides/getting-started.md