1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:47:35 +00:00

LibPDF: Sketch out DeviceN color spaces a bit

Documents using them now show render-time diagnostics instead
of asserting that number of parameters passed to a color don't
match whatever number of channels the previously-set color space
had.

Fixes two asserts on the `-n 500` 0000.zip test set.
This commit is contained in:
Nico Weber 2023-10-24 10:26:20 -07:00 committed by Andreas Kling
parent f915aa70cd
commit f8bf9c6506
3 changed files with 66 additions and 0 deletions

View file

@ -51,6 +51,7 @@
X(Dests) \
X(DeviceCMYK) \
X(DeviceGray) \
X(DeviceN) \
X(DeviceRGB) \
X(Differences) \
X(E) \