1
0
mirror of synced 2026-02-16 13:03:02 +00:00

Fix POSTSCRIPTSTREAM to refine or default values for COLOR. (#2177)

* Fix POSTSCRIPTSTREAM to accept SMALLP values 0 and 1 as COLOR.
(Don't require them to be FLOATP.)

* Changed handling when color values are not directly interpretable without other context (e.g., as an index into a color map).

POSTSCRIPTSTREAM should behave similar to INTERPRESS and just ignore a BRUSHCOLOR if it is a SMALLP that's neither 0 nor 1, and use the current DSPCOLOR of the stream.
If someone wants a specific color, or grayscale, they can use the color descriptions as documented in POSTSCRIPTSTREAM.TEDIT.

* Update documentation to better describe allowed COLOR specification.
This commit is contained in:
Matt Heffron
2025-06-16 20:49:27 -07:00
committed by GitHub
parent 87fafe901e
commit 72032afdde
3 changed files with 159 additions and 153 deletions

Binary file not shown.