Along a hue at a given lightness, sRGB can hold two runs of chroma with
chromas outside it between them (near blue, a run of low chroma and one
ending at the blue primary). max_chroma bisected as if sRGB held one run,
so at blue's lightness and hue it gave about 0.266 instead of the
primary's 0.3132, and a request for full chroma came out desaturated.
- The search now finds where each linear sRGB component's cubic reaches
an edge of the gamut, tests the chromas between those points from the
top down, and refines the highest run that fits.
- from_oklch lowers a chroma outside sRGB to the largest chroma under it
that fits, so a chroma in the gap goes to the top of the run under it
instead of being clamped channel by channel.
- The C track of OKLCH Sliders dims a gap under the largest chroma and
shows there the color a pick stores.
- Tests cover the blue primary, a dark blue whose runs are far apart, the
C track over that gap, and a grid of lightness and hue where no chroma
above the one found fits.
* CI: FreeBSD builds with two jobs
The nightly FreeBSD run has been killed for memory (exit 137) while
compiling the workspace's test targets, on both architectures, every
night since at least 9 November. Two rustc processes at a time fit in
the VM's 12 GB.
* CI: one FreeBSD build job at a time
With two jobs the engine and ui-egui test builds were still killed when
they compiled together.
The check before a PNG or JPEG is embedded as it is read the profile's
color space only from a profile of at least 128 bytes, so a gray or RGB
profile cut short after its color space reached the PDF writer. The
color space is now read from bytes 16..20 of any profile that holds
them, and valid_icc rejects the short profile.
When the last of the bounded breaks such a line reads came right before
U+2028, the line ended at that break and the next line held only the
forced break, drawing an empty line. The line now reads on to the
forced break and ends there when it fits as drawn.
In PDF/X-1a, a tagged gray JPEG that the Compression settings keep as
JPEG was decoded and written with Flate. It is now written with its
JPEG data unchanged, in DeviceGray without its profile.
A PNG or JPEG embedded as it is now has its gray or RGB profile checked
with valid_icc, like the images the recoder writes: a malformed profile
is left out, the JPEG keeping its JPEG data and the PNG decoded.
After the merge of main, the tracked-ligatures note is the only reader of
the first run's features, and the branch replaces that check with one that
reads every frame of the story, so clippy reported the binding as unused.
tab_advance read the text after a tab up to the next tab for every
stop, though only right, center and decimal stops align it. The first
tab of a long paragraph read the paragraph to its end, even on a line
that stops reading a bounded number of breaks past its overflow. It
now reads that text only when it reaches a stop that aligns it.
A gray or RGB image is tagged with the ICC profile it carries only when
the profile passes the checks a CMYK image's profile already passes: at
most 16 MiB, the size its header declares, the acsp signature, an input,
display, output or color space profile class, and a tag table that lies
within it. Otherwise the image is written in DeviceGray or DeviceRGB, kept
as it is, resampled or compressed with JPEG.