Repository navigation
Releases
v0.1.0-preview.9
Highlights
- Much smaller trimmed apps.
- Faster text rendering by default (#548). The software rasterizer's glyph cache uses quantized glyph positioning by default (each glyph at most 1/8 px off, kerning unchanged): whole pages render about 2.9x faster, and the cache uses 4–8x less memory.
RenderOptions.WithGlyphPositioning(Exact)keeps the old behavior. - Caches survive edits to other documents (#578). Editing one document no longer invalidates the cached display lists and images of every other open document.
- Smoother browser viewer. Text selection, reading order, the accessibility tree (#546) and Flate images with soft masks (#566) load in small steps. The hot-AOT build is 11.1 MiB instead of 17.6 MiB (#547), and its first view appears about twice as fast.
- Viewer shells.
- Builder tables lay out in linear time (#541). 10,000 rows take about 0.6 s instead of minutes.
New API
PdfOptions.CreateWithoutImageCodecs(),PdfOptions.UseImageCodecs(),FilterDiagnostics.FilterCodecNotRegistered.PdfPage.BeginTextExtraction,PdfPage.BeginLayoutExtraction(TextExtraction,LayoutExtraction), which build in slices.PdfView.Formson the WPF, WinUI 3 and Avalonia viewers.
Behavior changes
- Quantized glyph positioning is the software rasterizer's default (#548). Golden images with text were re-accepted.
- Escape abandons a field edit in the Avalonia viewer instead of committing it (#543).
- An XMP property in the
xmlnsnamespace is left out when saving, instead of failing the save (#545).
Fixes
- A second render of the same display list could differ: a glyph cache hit skipped strokes that reach into the bitmap (#572).
- A damaged linearization hint table could make a remote-style read allocate 11–14 GB (#568).
- A CID-keyed CFF font whose first Font DICT matrix cannot be inverted drew other glyphs in that matrix (#582).
- Sliced text extraction could throw while a page was being reloaded (#584).
- Benchmark gate: it records each runner's CPU and times a pass with AVX-512 off (#539); identical code no longer reads as a regression (#554).
- Flaky tests fixed: the tile scheduler frame clock (#540), the WinUI sample drag test (#563), and the dark-mode cache tests (#570).
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
- feat(rendering): make quantized glyph positioning the software rasterizer's default by @michaelstonis in #550
- test(viewer): drive tile scheduler frames with a work-counting clock by @michaelstonis in #553
- ci(bench): record the runner's CPU and time without AVX-512 (#539) by @michaelstonis in #552
- fix(viewer): extend the text selection to the release point in the Avalonia, WPF and MAUI viewers (#542) by @michaelstonis in #555
- feat(viewer): WPF, WinUI 3 and Avalonia edit form fields through FormFilling (#543) by @michaelstonis in #556
- perf(layout): lay out builder tables in time linear in their rows (#541) by @michaelstonis in #557
- test(viewer-winui): wait for the Home scroll to end before reading the line to drag across (#563) by @michaelstonis in #565
- perf(viewer-blazor): fit the --hot-aot demo build under 16 MB with a recorded AOT profile (#547) by @michaelstonis in #569
- fix(cos): bound linearization hint object counts by their byte ranges (#568) by @michaelstonis in #573
- fix(viewer): toggle multi-select list box options with the mouse (#560) by @michaelstonis in #567
- perf(rendering): decode build-time Flate images in slices (#566) by @michaelstonis in #579
- fix(bench): randomize benchmark placement and rerun in several processes (#554) by @michaelstonis in #575
- perf(caching): count changes per document so other documents' caches stay current (#578) by @michaelstonis in #580
- style: fix format errors in the Blazor sample and browser tests by @michaelstonis in #571
- test(viewer): run the dark mode cache tests outside the parallel tests (#570) by @michaelstonis in #577
- fix(rendering): cull glyph fills and strokes separately so a cache hit keeps the stroke by @michaelstonis in #576
- fix(viewer-blazor): extend the text selection to the release point (#558) by @michaelstonis in #559
- feat(document): read and write XMP without System.Xml (#545) by @michaelstonis in #562
- perf(viewer): slice text selection and accessibility page loads (#546) by @michaelstonis in #564
- fix(fonts): draw each CID glyph through its own Font DICT matrix when the first is singular (#582) by @michaelstonis in #583
- feat(filters): choose the image codecs through the options (#544) by @michaelstonis in #561
- fix(content): keep a sliced run's interpreter out of every thread's cache while it runs by @michaelstonis in #585
- Broadside v0.1.0-preview.9: smaller trimmed apps, faster text rendering, smoother browser viewer by @michaelstonis in #586
Full Changelog: v0.1.0-preview.8...v0.1.0-preview.9
v0.1.0-preview.10
Highlights
-
A new README. It is rewritten in plain language: what Broadside does, where it runs, how to install and use it, the viewer controls, and what's coming before and after 1.0.
-
Faster CI. Pull requests now build and test only what their change affects. The slowest tests are trimmed, and the NuGet cache works again. Measured on real pull requests:
- A change to the core library: about 15 minutes instead of 20.
- A viewer-only change: about 13 minutes instead of 21.
- A docs-only change: under a minute.
Pushes to
main, release pull requests and a new nightly run still build and test everything.
Library changes
None. The packages are the same code as 0.1.0-preview.9, published under the new version.
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
- ci: build and test only what a pull request affects (#587) by @michaelstonis in #588
- docs(readme): bring the README up to date with preview.9 by @michaelstonis in #592
- docs(readme): rewrite the README in plain language by @michaelstonis in #593
- Broadside v0.1.0-preview.10: new README and faster CI by @michaelstonis in #594
Full Changelog: v0.1.0-preview.9...v0.1.0-preview.10
v0.1.0-preview.8
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
v0.1.0-preview.7
Highlights
- Bit-identical rendering on every platform (#233). The software rasterizer uses a managed deterministic math library (trig, exp, log, pow, cbrt), so the same page renders to the same bytes on Windows, Linux, macOS, iOS and Android. A CI workflow checks render fingerprints across platforms.
- Public, typed diagnostic catalog (#242–#248). Every diagnostic now carries a
DiagnosticCodefrom a public catalog grouped by area (FileStructureDiagnostics,FilterDiagnostics,FontDiagnostics, ...), with severity and clause. Extension points report typed codes, and third parties can define owner-prefixed codes withDiagnosticCode.Create. - Unencrypted wrapper documents (#234, #235). Read the encrypted payload of a PDF 2.0 unencrypted wrapper, and write wrappers around an encrypted payload.
- Bounded memory for multi-gigabyte files (#237). Cross-reference entries are stored compactly and large streams are copied in windows on save.
- Every file-structure repair is recorded (#238). The remaining silent repairs now report diagnostics; table entries beyond
/Sizeare kept in lenient mode and rejected in strict mode. - Order 3 sampled functions (#236) interpolate with a cubic spline.
- API shaping before the freeze (#249–#254). Async entry points mirror their synchronous overloads, associated files are read through their owners, annotation subtypes own their entries, the image API is tidied and the DCT decoder is split by responsibility.
- Conformance map closed for v1 (#240, #241). Clause citations in XML docs are checked against the map, every open row links a tracking issue, and known limitations are listed in
docs/known-limitations.md.
New API
DiagnosticCode,DiagnosticArea,DiagnosticCatalog,Diagnostic.Kind, and one*Diagnosticsclass per area; typedDiagnosticSinkoverloads.PdfEncryptedPayload,PdfUnencryptedWrapperOptions,CreateUnencryptedWrapper.AssociatedFileson the document, pages, annotations and other owners.- Async
Open/Saveoverloads matching every synchronous one; path saves write a temporary file and move it into place. ImageGeometry,PdfSoftMaskInData,AdobeColorTransform,IsImageMask,MaxDecodedLength.
Breaking changes
- Extension-point contexts (
FilterContext,FontProgramContext,SecurityHandlerContext,CMapContext) take aDiagnosticCodeinstead of a string. ReadAssociatedFilesis replaced by theAssociatedFilesproperties.- Subtype-specific readers on
PdfAnnotationmoved to the annotation subtypes. - Image geometry moved to
ImageGeometry;WithMaxDecodedStreamLengthis nowWithMaxDecodedLength.
Fixes
- Recorded diagnostics for xref entries beyond
/Size, comments in xref sections, malformed xref lines and a damaged laststartxref(#238). - Every
Use*/With*option and every diagnostic reaches the hosted engine (#239). - The Android viewer smoke test reports the log when the app exits early.
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
- Phase 7 sweep: API shaping and coverage before the freeze (#233-#254) by @michaelstonis in #534
- Broadside v0.1.0-preview.7: bit-identical rendering, typed diagnostic catalog, API shaping for v1 by @michaelstonis in #535
Full Changelog: v0.1.0-preview.6...v0.1.0-preview.7
v0.1.0-preview.6
Highlights
- Platform JPEG decoders (#374–#377). JPEG images can decode with SkiaSharp's
SKCodec, ImageIO (Apple),BitmapFactory(Android) or WIC (Windows), behind the platform image decoder seam, scaled to the size they are drawn. The managed decoder stays the default where it is faster or must be bit-exact. - Vectorized image and color kernels (#470–#477).
Vector128kernels with scalar fallbacks for the 8 × 8 inverse DCT, YCbCr/YCCK conversion, the JPEG 2000 wavelet and component transforms, BGRA packing and premultiplication, the box filter, group compositing rows and CMYK characterization. Every kernel is bit-identical to its scalar path, and each is either faster in the browser builds or kept off there. - Faster JPEG 2000 (#255, #503, #505). Tier-1 decoding at about 41 ns per sample, fused rounding and level shift, and code-blocks decoded in parallel on native builds. pdfjs issue5567 page renders in Native AOT went from 227 ms to 49 ms.
- Reduced-resolution decode in more cases (#507, #513). JPEG 2000 images without a
/ColorSpace, and JPEG 2000 and JPEG soft masks, now decode at the resolution they are drawn; an image and its soft mask always reduce together. Pages with large masks open 57–77% faster zoomed out. - Faster image painting (#509, #511, #517). Box-filter footprints are kept across rows, averaged a run at a time, and composited a row at a time; enlarged images paint a run at a time. Painting a reduced image is 30–60% faster on JIT, Native AOT and browser AOT, and up to 9× faster in the browser interpreter for enlarged images. Output is byte-identical.
- Sample documents (#363, #451). Representative sample documents covering text, forms, color, scans, encryption, signatures and damaged files, wired into the demos, benchmarks and browser tests.
- Live demo: https://michaelstonis.github.io/Broadside/demo/
New API
SkiaImageDecoder,ImageIODecoder,AndroidImageDecoder,WicImageDecoder, withUseSkiaImageDecoder,UseAndroidImageDecoderandUseWicImageDecoderonPdfOptions.PrefetchImagesAsynconAndroidCanvasBackend,CoreGraphicsRendererandDirect2DRenderer.ImageRows.PackBgra/PackRgba,YCbCrConversion.ToRgb.PlatformImageRequest.ChromaHorizontalSubsampling/ChromaVerticalSubsampling,ImageHeader.IccProfile.
Fixes
- Every backend paints an image unmasked when its soft mask can't be decoded at draw time (#515).
- One shared default filter registry, so allocations no longer vary run to run (#498).
- One platform decode shared across concurrent prefetches (#484).
- Security: read an indirect
KDFSaltas stored (#478); reload objects the encryption dictionary reaches once decryption is installed (#398). - Writing: cross-reference streams always carry
/Type /XRef(#466); a source trailer's section keys are never repeated (#445); new objects are numbered correctly in a file that holds object 2147483647 (#387). - A reduced JPX decode stays within the header's
MaxReduction(#424). - Blazor
PdfViewerhas an intrinsic height without host CSS (#393). - Remote files resolve named destinations off the UI thread (#420).
- WebGL falls back to a document canvas when
OffscreenCanvashas no WebGL 2 (#444).
All known issues listed for preview.5 (#420, #424, #387, #398, #393, #434, #445) are fixed.
What's Changed
- feat(samples): representative sample documents, part 1: tooling, licences, catalogue, invoices, textbook (#363) by @michaelstonis in #433
- feat(samples): representative sample documents, part 2 (#363) by @michaelstonis in #442
- feat(samples): wire sample documents into demos, benchmarks and browser tests (#363) by @michaelstonis in #443
- fix(webgl): fall back to a document canvas when OffscreenCanvas has no WebGL 2 by @michaelstonis in #444
- ci(blazor-wasm): pin the browser job to ubuntu-24.04 (#459) by @michaelstonis in #460
- fix(viewer): resolve a remote file's named destinations off the UI thread (#420) by @michaelstonis in #450
- fix(filters): keep a reduced JPX decode within the header's MaxReduction (#424) by @michaelstonis in #452
- fix(blazor): give PdfViewer an intrinsic height without host CSS (#393) by @michaelstonis in #453
- test(webgl): switch the view panel test to a document the GPU draws whole by @michaelstonis in #456
- feat(samples): coverage matrix, encrypted and signed sample documents (#451) by @michaelstonis in #455
- fix(writing): never repeat a source trailer's section keys (#445) by @michaelstonis in #454
- fix(cos): number new objects of a file that holds object 2147483647 (#387) by @michaelstonis in #457
- feat(samples): forms, XFA and annotation sample documents (#451) by @michaelstonis in #468
- feat(samples): international text sample documents (#451) by @michaelstonis in #463
- perf(colors): transfer 8-bit colors run by run while they are in cache (#434) by @michaelstonis in #461
- feat(samples): legacy, scanned and color sample documents (#451) by @michaelstonis in #464
- feat(samples): structure, archival, scale and damaged sample documents (#451) by @michaelstonis in #465
- fix(security): load objects the encryption dictionary reaches again once decryption is installed (#398) by @michaelstonis in #458
- fix(writing): always write a cross-reference stream as /Type /XRef (#466) by @michaelstonis in #467
- feat(android): decode JPEG images with BitmapFactory in the Android Canvas backend (#376) by @michaelstonis in #481
- feat(coregraphics): decode JPEG images with ImageIO behind the platform decoder seam (#375) by @michaelstonis in #483
- feat(direct2d): decode JPEG images with WIC (#377) by @michaelstonis in #480
- docs(benchmarks): add the browser AOT column to the sample documents baseline (#363) by @michaelstonis in #487
- test(perf): SIMD kernel test and benchmark infrastructure (#470) by @michaelstonis in #488
- fix(security): read an indirect KDFSalt as stored (#478) by @michaelstonis in #486
- fix(images): share one platform decode across concurrent prefetches whatever the decoder does (#484) by @michaelstonis in #489
- perf(images): vectorize YCbCr/YCCK to RGB/CMYK rows with Vector128 (#471) by @michaelstonis in #490
- perf(rendering): vectorize the group source-over and partial-coverage fill rows (#473) by @michaelstonis in #492
- feat(skia): decode JPEG images with SkiaSharp's SKCodec, scaled and bit-identical (#374) by @michaelstonis in #485
- perf(rendering): vectorize the box filter's channel accumulation (#475) by @michaelstonis in #493
- perf(rendering): vectorize BGRA packing, premultiplication and gray expansion (#472) by @michaelstonis in #491
- perf(colors): vectorize the CMYK characterization and copy ICCBased samples with a device alternate (#476) by @michaelstonis in #494
- perf(filters): vectorize the 8 x 8 islow inverse DCT (#474) by @michaelstonis in #495
- ci: retry the poppler-utils install and skip its checks when Ubuntu's archive is unreachable by @michaelstonis in #500
- fix(filters): share the default filter registry across engines by @michaelstonis in #499
- perf(skia): decode images synchronously now that the core shares a synchronous decode (#496) by @michaelstonis in #497
- docs(research): SIMD opportunities and per-target acceleration by @michaelstonis in #469
- perf(filters): vectorize the JPEG 2000 wavelet and component transforms (#477) by @michaelstonis in #501
- perf(jpx): tier-1 decoding at 41 ns per sample (#255) by @michaelstonis in #502
- perf(jpx): fuse and vectorize the 9/7 rounding with the DC level shift (#503) by @michaelstonis in #504
- perf(jpx): decode code-blocks in parallel on native builds by @michaelstonis in #506
- perf(jpx): decode JPX images without a ColorSpace at the resolution they are drawn by @michaelstonis in #508
- perf(rendering): keep box-filter footprints across rows and compose JPX rows directly (#509) by @michaelstonis in #510
- perf(rendering): average a run of box-filter footprints per call (#511) by @micha...
v0.1.0-preview.5
Highlights
- Pooled tile renderers share converted images (#432). Each image is converted once per document and shared by every pooled Skia or software tile renderer, within the image memory budget; image resampling works in bounded bands. On the iOS simulator, a full-width photo page peaks at 0.82 GB instead of 3.6–3.7 GB, and its tiles finish in 5.6 s instead of 11.5–14.8 s.
- Scaled image decode in every native backend (#428 parts 3–5). CoreGraphics, Android Canvas and Direct2D now decode images at the resolution they are drawn, like Skia and WebGL. Off by default for page renders; the viewer turns it on. A cover photo drawn 150 px wide renders in 36 ms instead of 221 ms with CoreGraphics on macOS.
- WebGL on Linux WebKit (#444). When
OffscreenCanvashas no WebGL 2 context, the WebGL renderer falls back to a document canvas instead of switching itself off. - Live demo: https://michaelstonis.github.io/Broadside/demo/
New API
SkiaBackend.ShareConvertedImages, SoftwareRasterizer.ShareConvertedImages, CoreGraphicsRenderer.ScaledImageDecode / ImageSamplesPerPixel, AndroidCanvasBackend.ScaledImageDecode / ImageSamplesPerPixel, Direct2DRenderer.ScaledImageDecode / ImageSamplesPerPixel.
Known issues
#420, #424, #387, #398, #393, #434, #445. Fixes for all of them are in progress on the integration branch.
What's Changed
- perf(viewer): pooled tile backends share converted images (#432) by @michaelstonis in #437
- feat(coregraphics): decode images at the resolution they are drawn (#428 part 3) by @michaelstonis in #439
- feat(direct2d): decode images at the resolution they are drawn (#428 part 5) by @michaelstonis in #438
- feat(android): decode images at the resolution they are drawn (#428 part 4) by @michaelstonis in #440
- fix(webgl): fall back to a document canvas when OffscreenCanvas has no WebGL 2 by @michaelstonis in #444
- Broadside v0.1.0-preview.5: shared image conversions, scaled decode in CoreGraphics, Android and Direct2D by @michaelstonis in #441
Full Changelog: v0.1.0-preview.4...v0.1.0-preview.5
v0.1.0-preview.4
Highlights
- Platform image decoders (#372, #373). New
IPlatformImageDecoderseam with an async prefetch and a managed fallback that records a diagnostic. In the Blazor viewer, Chrome/Edge decode JPEG with WebCodecs, bit-identical to the managed decoder. Safari and Firefox use their native decoders only where a startup calibration decode is exact. - Scaled decode in Skia and WebGL (#428 parts 1–2). The MAUI viewer and the WebGL renderer draw images at the resolution needed. The browser render worker follows the page's threshold.
- Remote linearized files (#416, #417). Remote files load their links, outline and tagged structure without the whole file. A resize keeps a page jump going.
- Live demo: https://michaelstonis.github.io/Broadside/demo/ (try
?renderer=webgl,?k=1,?scaled=0,?worker=0).
New API
IPlatformImageDecoder and related types, PdfOptions.UsePlatformImageDecoder and its switches, PdfDocument.ReadAsync<T>, WebGLRenderer.ScaledImageDecode / ImageSamplesPerPixel, WebGLTileBackend(bool, double), SkiaTileBackend(bool, double), RenderWorker.Open(..., ViewerOptions), UseBrowserImageDecoder().
Known issues
#420, #424, #432, #387, #398, #393. CoreGraphics, Android and Direct2D still decode images at full size (#428).
What's Changed
- ci(blazor): keep PR browser jobs off WebKit from another job's cache (#421) by @michaelstonis in #422
- fix(viewer): a resize keeps a running page jump going (#416) by @michaelstonis in #418
- fix(document): hinted remote files find pages without walking the page tree (#417) by @michaelstonis in #419
- feat(images): platform image decoder seam with an asynchronous prefetch (#372) by @michaelstonis in #423
- ci(docs): host the Blazor demo at /demo/ with the docs (#426) by @michaelstonis in #427
- feat(viewer-blazor): decode JPEG images with the browser's own decoder (#373) by @michaelstonis in #425
- docs: host the Blazor demo at /demo/ on the docs site (#426) by @michaelstonis in #430
- chore(samples): stop packaging tracemonkey.pdf; load it from pdf.js's copy by @michaelstonis in #431
- feat(skia): decode images at the resolution they are drawn in the Skia backend and the MAUI viewer (#428) by @michaelstonis in #429
- feat(webgl): decode images at the resolution they are drawn (#428 part 2/5) by @michaelstonis in #435
- Broadside v0.1.0-preview.4: native image decoders, scaled decode in Skia/WebGL, remote-file fixes by @michaelstonis in #436
Full Changelog: v0.1.0-preview.3...v0.1.0-preview.4
v0.1.0-preview.3
Highlights
- Images are decoded at the size they are drawn in viewers (#362): JPEG at 1/2, 1/4, 1/8, JPEG 2000 resolution levels, Flate/raw row reduction. A large-photo page at phone size went from 212 ms / 33.6 MB to 80 ms / 8.4 MB. The threshold is configurable; the default is 2 source pixels per device pixel.
- Remote linearized files load in the browser without waiting for the end of the file (#410).
- Android emulator CI is reliable (#344).
API change
DisplayImageSamples.DecodeMapis replaced byDisplayImage.DecodeMapFor(samples).
Known issues
- #387, #398, #393. Native renderers (Skia, CoreGraphics, Direct2D, Android, WebGL) still draw images at full resolution (in progress).
What's Changed
- feat(rendering): decode images when drawn, at the reduction the device needs (#362, part 1/4) by @michaelstonis in #405
- feat(filters): DCT scaled decode at 1/2, 1/4 and 1/8 (#362 part 2/4) by @michaelstonis in #408
- fix(ci): keep the Android emulator job alive through adb offline drops (#344) by @michaelstonis in #409
- feat(filters): JPX resolution-level discard for reduced decodes (#362 part 3/4) by @michaelstonis in #411
- fix(document): find a hinted page's index without the page tree (#410) by @michaelstonis in #413
- feat(rendering): row reduction for images the codec cannot reduce (#362 part 4/4) by @michaelstonis in #412
- Broadside v0.1.0-preview.3: scaled image decode, remote-file fix, CI reliability by @michaelstonis in #415
Full Changelog: v0.1.0-preview.2...v0.1.0-preview.3
v0.1.0-preview.2
Highlights
- Saving damaged files stays bounded; out-of-range object numbers are renumbered with a diagnostic, and a refused save leaves the document unchanged (#371).
- Saves that keep a file's encryption write a clean encryption dictionary (#390).
Broadside.Viewer.Mauinow includes the Windows target (#381).- WebGL thumbnails render correctly (#380).
Known issues
- #387: adding objects to a file that holds object number 2147483647 throws.
- #398: objects resolved through the encryption dictionary are cached before decryption.
- #393: the Blazor viewer needs an explicit height.
- #362/#365: large images decode at full resolution (in progress).
What's Changed
- fix(writing): bound save memory by the objects written, not the highest object number (#371) by @michaelstonis in #385
- ci(release): pack the MAUI viewer's Windows target (#381) by @michaelstonis in #386
- fix(viewer): read WebGL tiles back for pixel surfaces and drop the hold before the bitmap goes (#380) by @michaelstonis in #388
- docs: bring the README and docs up to the project's current state by @michaelstonis in #392
- ci(bench): allocations on every PR, times on hot paths, perf, main and nightly (#389) by @michaelstonis in #391
- docs: README and docs reflect v0.1.0-preview.1 (docs only) by @michaelstonis in #395
- docs: drop ADR references from user-facing text and enforce it by @michaelstonis in #396
- fix(writing): write a kept encryption dictionary as a new direct object (#390) by @michaelstonis in #394
- docs: drop ADR references from user-facing text and enforce it (spec/33) by @michaelstonis in #399
- docs: fix punctuation left by removing ADR citations by @michaelstonis in #400
- docs(site): API reference for every package (#403) by @michaelstonis in #404
- Broadside v0.1.0-preview.2: save fixes, MAUI Windows package, WebGL thumbnails, CI speed-up by @michaelstonis in #401
Full Changelog: v0.1.0-preview.1...v0.1.0-preview.2
v0.1.0-preview.1
What's Changed
- build: solution and build conventions by @michaelstonis in #26
- docs: repository hygiene files (#9) by @michaelstonis in #27
- build: add package projects (#2) by @michaelstonis in #28
- test: hand-written minimal PDF corpus (#6) by @michaelstonis in #29
- build: anchor corpus ignore pattern to the repo root by @michaelstonis in #30
- tools: corpus fetcher (#5) by @michaelstonis in #31
- test: test, benchmark and fuzz project scaffolding (#3) by @michaelstonis in #32
- docs: Broadside v1 umbrella spec by @michaelstonis in #34
- ci: build, test, api-surface, conformance, fuzz and release workflows (#4) by @michaelstonis in #35
- tools: conformance map checker (#7) by @michaelstonis in #66
- docs: agent skills for the recurring task types (#10) by @michaelstonis in #72
- docs(plan): re-sliced Phase 1 and new Phase 2 ticket tables by @michaelstonis in #81
- docs: Lunet documentation site with API reference (#8) by @michaelstonis in #82
- Spec #33: Broadside v1 (integration) by @michaelstonis in #83
- [CI only] #129 Direct2D backend — Windows verification by @michaelstonis in #309
- fix(ci): make the integration branch green by @michaelstonis in #312
- [CI only] #131 Direct2D native glyphs — Windows verification by @michaelstonis in #313
- fix(ci): integration green again (qpdf 12 on Linux, SkiaSharp xref map) by @michaelstonis in #315
- fix(android): green Android CI; allocation test needs an optimized build (#314) by @michaelstonis in #316
- feat(writing): PDF/A-2b output validated by veraPDF in CI (#201) by @michaelstonis in #317
- feat(writing): PDF/A-2u, PDF/A-3b and PDF/A-3u (#202) by @michaelstonis in #318
- feat(fonts): CFF and OpenType-CFF subsetting (#151) by @michaelstonis in #320
- feat(fonts): Type 1 to CFF conversion (#152) by @michaelstonis in #321
- feat(writing): PDF/UA-1 output from flow layout (#204) by @michaelstonis in #322
- feat(writing): PDF/A-4 and PDF/A-4f output (#203) by @michaelstonis in #323
- feat(writing): PDF/UA-2 and Well-Tagged PDF output (#205) by @michaelstonis in #324
- feat(pdfa): convert existing documents to PDF/A (#229) by @michaelstonis in #325
- feat(layout): auto-tagged documents checked against PDF/UA-1 (#206) by @michaelstonis in #326
- feat(rendering): Android images, shadings and patterns (#134) by @michaelstonis in #328
- #130 Direct2D images, shadings and patterns (CI draft) by @michaelstonis in #327
- feat(android): transparency with group fallback (#136) by @michaelstonis in #329
- feat(rendering): Direct2D transparency with group fallback (#132) by @michaelstonis in #330
- feat(bench): benchmark regression gate in CI (#139) by @michaelstonis in #331
- test(viewer): measure session retention past ArrayPool trimming by @michaelstonis in #339
- feat(viewer): Blazor WebAssembly viewer (#221) by @michaelstonis in #342
- fix(bench): make FirstPaint allocations deterministic by @michaelstonis in #341
- Spec #33 Phases 3–5: rendering, writing and cross-cutting by @michaelstonis in #277
- feat(blazor): comprehensive Blazor WebAssembly demo app (#338) by @michaelstonis in #345
- fix(viewer): demo viewer bugs #346-#351 by @michaelstonis in #354
- feat(rendering): WebGL 2 backend for the browser viewer, measured (#353) by @michaelstonis in #356
- feat(viewer): .NET MAUI viewer drawn with SkiaSharp (#226) by @michaelstonis in #355
- perf(rendering): tile, image and colour hot paths (deep dive; #336, #352) by @michaelstonis in #359
- fix(viewer): Android MAUI sample crashes at startup with AOT (#366) by @michaelstonis in #367
- ci(maui): build, check and smoke-test the Android sample in Release (#368) by @michaelstonis in #369
- docs(research): scaled image decode and native image decoders (#362) by @michaelstonis in #378
- Render off the UI thread in every viewer shell (#357) by @michaelstonis in #364
- Broadside v1: viewers, demo, perf deep dive and off-UI-thread rendering (batch 2) by @michaelstonis in #379
- ci(release): skip the Xcode version check on the macOS pack job by @michaelstonis in #382
- ci(release): set up .NET without global.json in the publish job by @michaelstonis in #383
- ci(release): trusted publishing user is the nuget.org account stonis by @michaelstonis in #384
New Contributors
- @michaelstonis made their first contribution in #26
Full Changelog: https://github.com/michaelstonis/Broadside/commits/v0.1.0-preview.1
Known issues in this preview
- #371: saving a damaged PDF that has a huge object number can allocate without bound (out of memory). Avoid
Saveon untrusted damaged input until this is fixed. - #381: the
Broadside.Viewer.Mauipackage does not include the Windows target yet. Windows apps get the plainnet10.0assembly without the keyboard and focus handler. - #380: with the opt-in WebGL renderer, page thumbnails are blank.