22.9 Device Color Spaces

Some pages redefine the basic default colorspaces (for color management purposes). This is handled at the device level using the fz_set_default_colorspaces call:

void fz_set_default_colorspaces(fz_context *ctx, fz_device *dev, fz_default_colorspaces *default_cs);

The device typically takes a reference to the default_cs object and refers to it as required.