Repository navigation
Add compiled document batches across JavaScript runtimes - #61
Merged
Merged
Conversation
krflol
marked this pull request as ready for review
October 30, 2026 22:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generating a family of notices or statements currently requires JavaScript applications to render each record separately and track page ranges themselves. This adds
renderPdfBatch()to Node, the render queue, the browser renderer, and Cloudflare Workers. It compiles one template per request and returns one PDF in record order, with page ranges and missing-character reports for each record.Reflow is the default; fixed layout retains the compiled geometry and selected fonts. Records are snapshotted before asynchronous work, share the source-byte budget, and retain existing cancellation, queue, and process-shutdown behavior. Component-authored templates use the same API, with required renderer options preserved by TypeScript. The adapter pins the published Fullbleed 2.5.46 core for its compiled reports; historical rendering fixtures and expected hashes are preserved.
Local Windows qualification:
The current-engine font-layout reference retains every expected PDF, preview, text, and font value from the 2.5.43 reference. Independent reinspection of the actual Linux CI output passes all seven font specimens; the original reference and comparison logic remain intact.
The draft remains pending the exact-source CI matrix and release-artifact qualification. Version 0.9.0 has not been published to npm. Selected-font diagnostics do not establish layout, shaping, accessibility, or PDF conformance.