Version 4.158.0
Skia m158 and broader scripts · NuGet (prerelease)
API changes · SkiaSharp API diff · HarfBuzzSharp API diff
Highlights
SkiaSharp 4.158.0 pairs Skia m158 rendering fixes with HarfBuzz 15.0.0 and expanded script constants. The cumulative line improves image-filter sampling, glyph-mask handling, GPU text, and Vulkan synchronization while preserving existing SkiaSharp managed signatures.
Breaking Changes
None in this preview line.
Engine
- Skia m158 engine — Updates the native renderer to milestone 158 without changing SkiaSharp's managed binding surface. (#5634)
API Surface
- HarfBuzz 15 and complete named script coverage — Updates bundled HarfBuzz to 15.0.0 and adds 30 HarfBuzzSharp Script constants, including Jurchen, ProtoCuneiform, and Seal. Existing Script fields, parsing, and conversions are preserved; the removed deprecated native import was not a public managed member. (#5554)
Bug Fixes
- Correct image subsets and glyph masks — Prevents unrelated texture pixels bleeding into filtered images under antialiasing, minification, and skew, and makes filter-cache equality consistent with hashing. Regenerated mask-filtered glyphs use their own paths, validated formats, and correct clipped emboss-plane strides. (#5768, #5739)
- GPU drawing and Vulkan reliability — Fixes reflected hairline caps and text-atlas selection, bounds Graphite clip recording, and adds targeted ARM Vulkan device-loss cleanup timing. Native synchronous submission now accounts for fence-wait failures; GRContext.Submit still returns void. Displacement offsets use fp32 arithmetic to match filter bounds. (#5669, #5712)
Lifecycle & Internals
- OS-generated hash seeds — The shared hash-code polyfill now obtains its per-process seed from OS-backed cryptographic randomness. Hash codes remain stable within a process and randomized between processes; first use now initializes cryptographic services. — ❤️ @rolfbjarne (#5408)
HarfBuzzSharp 15.0.0
Updates bundled HarfBuzz to 15.0.0 and adds 30 named Script constants, including Jurchen, ProtoCuneiform, and Seal. The existing struct-based Script API and values are preserved.
Community Contributors ❤️
Thank you to everyone who contributed to this release!
| Contributor | Contributions |
|---|---|
| @rolfbjarne | OS-backed randomness for the shared hash-code seed and analyzer enforcement for shipped code. (#5408) |
Preview 3 (November 13, 2026)
Preview 3 improves displacement-filter precision and native synchronous Vulkan wait reporting. The shared hash-code polyfill adopts OS-generated randomness while keeping hash codes stable within each process.
Preview 2 (November 9, 2026)
Preview 2 brings HarfBuzz 15.0.0 and 30 additional Script constants. GPU fixes cover reflected hairlines, text-atlas selection, Graphite clip recording, and affected ARM Vulkan device-loss cleanup.
Preview 1 (November 6, 2026)
Preview 1 introduces Skia m158 without changing managed bindings. HarfBuzzSharp moves to package revision 14.4.0.300 while native HarfBuzz remains 14.4.0.
Release notes generated on 2026-11-17 at 21:33 UTC.