Closed goossenp closed 1 year ago
Thank you for merging this small fix.
Thanks for providing the fix. That comes from a PR many time ago that added named references because some ps interpreters runs faster in that way. Obviously that was not well tested, and since very few people uses ps nowadays the bug has been there for a while. It toke me 3 weeks to locate a real ps printer to check your fix, it works perfectly, thank you again!
For profiles with a linear tone curve, the Emit1Gamma function doesn't produce any output, so the PostScript code generated by LCMS may reference names (such as "lcms2gammaproc") that it does not actually define.
This patch makes it generate an empty procedure in such cases instead.