mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibPDF: Implement two SeparationColorSpace methods
Actually using separation color spaces still doesn't work, but we now no longer assert on them when they're used. Fixes 2 crashes on the `-n 500` 0000.zip pdfa dataset.
This commit is contained in:
parent
2311e28d63
commit
311cc7d9b9
2 changed files with 2 additions and 3 deletions
|
@ -396,8 +396,7 @@ PDFErrorOr<Color> SeparationColorSpace::color(ReadonlySpan<Value>) const
|
|||
|
||||
Vector<float> SeparationColorSpace::default_decode() const
|
||||
{
|
||||
warnln("PDF: TODO implement SeparationColorSpace::default_decode()");
|
||||
return {};
|
||||
return { 0.0f, 1.0f };
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue