mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
LibPDF: Add smoke-and-mirror implementation of SeparationColorSpace
None of the methods actually do anything, but we now create an actual SeparationColorSpace object for /Separation color spaces. This fixes a crash on page 810 of pdf_reference_1-7.pdf. Previously, we'd log a "separation color space not supported" error, which would lead to Renderer not updating its current color space. It'd stay a DeviceCYMK color space, which would then later assert when it got a 1-argument array as color (which now the SeparationColorSpace gets instead, which logs an "unimplemented" error for that instead of asserting).
This commit is contained in:
parent
af5a7b9a51
commit
fad834a21c
3 changed files with 37 additions and 0 deletions
|
@ -134,6 +134,7 @@
|
|||
A(SA) \
|
||||
A(SM) \
|
||||
A(SMask) \
|
||||
A(Separation) \
|
||||
A(StmF) \
|
||||
A(StrF) \
|
||||
A(Subject) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue