Repository navigation
v0.1.0-preview.8
Pre-release
Pre-release
·
213 commits
to main
since this release
Highlights
- Four new viewer shells (#222–#225). WPF, WinUI 3, Avalonia and Uno Platform (desktop and WebAssembly) controls on the shared viewer core, next to Blazor and MAUI.
- Viewer features (#215, #216, #218, #219). Search with background indexing, outline and thumbnails, form filling, and smart dark mode. The MAUI control and sample reach parity with the Blazor demo (#358).
- Fluent document builder, experimental (#397).
PdfDocument.Create(doc => ...)with sections, headers and footers, tables, links, a table of contents, form fields, PDF/UA and PDF/A profiles andAppendPages. Marked[Experimental("BROADSIDE0001")]. - Smoother browser viewer (#352, #365). Long decode, conversion, paint and display-list steps are sliced so the single-runtime browser viewer stays responsive.
- Faster rendering. Software stroking is 19–33% faster (#335), a glyph cache speeds up text (#370), the remaining compositing kernels are vectorized (#473), and graphics-state copies are cheaper (#257).
- Smaller packages. The Direct2D backend goes from 1.65 MB to 205 KB (#360);
Broadside.dllis 5.5% smaller, with Native AOT size probes gated in CI (#361). - Less memory per document (#337). Per-document caches are created on first use; opening a document allocates 8.7 KB instead of 14.4 KB.
New API
- Viewer controls:
Broadside.Viewer.Wpf,Broadside.Viewer.WinUI,Broadside.Viewer.Avalonia,Broadside.Viewer.Uno. RenderOptions.WithGlyphPositioning(exact by default, quantized opt-in).PdfDocument.Create(...)builder (experimental),PdfColor.FromHex,PdfDocument.DefaultSaveOptions.
Fixes
- Predefined CMaps and UCS2 tables are parsed once per engine (#256).
- Pages are recovered when the catalog has no usable page tree (#258).
- JPEG 2000 fragment tables are reassembled; external fragment references are refused with a diagnostic (#259).
- Color-space views and decode caches see removals behind indirect references (#305).
- Linearized saves of MAC-protected documents write a valid ISO/TS 32004 MAC (#311).
- Type 2 charstring arithmetic that overflows to an infinite point is dropped with a diagnostic (#536).
- Two benchmark regressions found by the gate are fixed: Type 3 resolve on processors without AVX-512, and per-call font program lookup.
Known limitations: docs/known-limitations.md lists what this release does not do yet, each item with the issue that tracks it.
Known limitations: docs/known-limitations.md lists what this release does not do yet, each item with the issue that tracks it.
What's Changed
- Sweep 7B: hardening, viewer shells and features, size and performance, document builder by @michaelstonis in #537
- Broadside v0.1.0-preview.8: new viewer shells, document builder, faster and smaller by @michaelstonis in #538
Full Changelog: v0.1.0-preview.7...v0.1.0-preview.8