Native COLRv1 Solid Composite Colors

Version 2.1167.0 improves default native output for bounded solid COLRv1 graphs that contain source-atop, destination-atop, xor or plus composition

DrawRegisteredColorGlyph selects this path automatically when the complete graph and its geometry can be proved eligible; no raster callback or compatibility-option change is required

Color arithmetic

Palette colors are decoded from sRGB before the complete graph is evaluated with linear-light premultiplied color and the authored alpha values

The final straight color is encoded once, and the final opacity is applied through one surface; this avoids repeated low-precision mask arithmetic inside the PDF reader

Layer order, nested Porter-Duff operations, transparent and opaque operands remain part of the same calculation; the caller's alpha, blend state and external clipping apply once to the completed glyph

The existing COLRv1DeviceSpaceGroupBlend option retains its separate compatibility semantics and is not needed for this default linear-light path

Eligible geometry

The graph may contain solid paints, layers, Porter-Duff operations, rectangular COLR clip boxes and real glyph contours made of horizontal and vertical straight segments

Multiple contours and holes use the outline's nonzero winding rule, with supported axis-preserving transforms including reflections and axis exchange

All geometry boundaries define constant-color regions; bounding boxes do not replace actual glyph contours, and the output contains native vector shading rather than an image of sampled pixels

Limits and recovery

Preparation bounds graph occurrences, outline edges, region count, exact arithmetic, shading data and work; cancellation and memory admission retain their existing contracts

The completed resources publish together, preserving the document and page resources when preparation or publication fails

Curved outlines, nonorthogonal geometry, varying-color gradients, other blend operators and graphs beyond the supported resource envelope continue through the existing native paths

Those paths retain their own compatibility limits; this release does not claim complete color equivalence for every legal COLRv1 graph

See COLRv1 Gradient Painting and the OpenType compositing model