SerenityOS build: Wednesday, February 19
Images 💾⌗
- serenity-x86_64-20250219-9aec8ee.img.gz (Raw image, 242.11 MiB)
Last commit ⭐⌗
commit 9aec8eefecbafab76c044907433286d16c36b679
Author: Nico Weber <thakis@chromium.org>
AuthorDate: Sun Feb 16 21:49:14 2025 -0500
Commit: Nico Weber <thakis@chromium.org>
CommitDate: Tue Feb 18 08:42:29 2025 -0500
LibPDF: Implement painting of axial shadings
Or, as they're called elsewhere, linear gradients.
Since this uses PDF function objects and PDF color spaces, it can't use
the existing gradient code in LibGfx.
The way shadings are drawn with the `sh` operator is that one sets a
clip path that's to be filled with the shading and the calls the `sh`
operator.
However, we only support clip rects at the moment, not yet arbitrary
clip paths. So this leads to rectangles with linear gradients
appearing, which sometimes can overlap other page elements. This will
improve once we implement support for arbitrary clip paths.
This is also still missing support for the optional additional /BBox
shading dict entry, which further constrains the clip rect.
Other builds