Native ICC Black Point Compensation

Version 2.1206.1 adds native UseBlackPtComp graphics-state handling to Cairo rendering, with actual relative-colorimetric ICCBased black-point conversion

PDF state and conversion

UseBlackPtComp accepts the case-sensitive names ON, OFF and Default; ON requests compensation and OFF disables it. Default clears the explicit request and leaves the color management engine's normal intent policy in effect

An absent or null entry preserves the current setting, q/Q restores it, and Form content inherits the enclosing state; invalid types or names are diagnosed before output publication

Forward and reverse ICC transforms are cached by rendering intent and effective compensation mode

AbsoluteColorimetric conversion always disables the compensation flag, including images whose Intent overrides the enclosing graphics-state intent

Actual consumers

The state is passed through fill/stroke color, ICC replacement and alternate spaces, images, Form and group conversions, soft masks, sampled shading and mesh color conversion

Color-conversion state is established before building a soft mask, independently of the order of entries in its graphics-state dictionary

Pattern content inherits its parent stream's initial graphics state; a shading pattern can override compensation through its own ExtGState

Compensation entries inside an uncolored pattern or d1 Type3 character procedure are ignored, including nested content scopes

Final page-group conversion uses the processor's default relative-colorimetric intent and compensation mode

ICC v4 perceptual and saturation intents

A real ICC input with a nonzero black floor produces gray 99 with relative-colorimetric compensation disabled and black 0 when enabled; native path, image, Form, group and shading consumers preserve that distinction

Version 2.1208.7 honors explicit OFF for ICC v4 perceptual and saturation conversions. It suppresses the black-point adjustment between profiles while preserving the selected rendering intent and the mapping defined in each profile. This path uses the LittleCMS 2.6 or later rendering-intent plug-in interface

CalGray, CalRGB and Lab use a separate native calibrated-color compensation route, introduced in version 2.1206.2

DeviceRGB-to-DeviceCMYK transparency conversions apply PDF black generation and undercolor removal separately