onProgress in @polotno/video-export gets a third status argument that names the current stage, with its completed and total counts. Existing handlers keep working.
Changelog · Sep 9, 2026
Polotno 4.12.1: video export progress, SVG text import and PDF font weights
Video export reports the stage it is in, and polotno-node can flag a stalled render. SVG import places text where the SVG paints it, and PDF text keeps its own weight.
Highlights
Video export progress stages
Stall reports in polotno-node
polotno-node reports its own stages, elapsed time and idle time through the same status, and stallTimeoutMs flags a stalled render without cancelling it. A renderer crash or a closed page rejects the export right away.
Accurate SVG text import
@polotno/svg-import places text by its painted baselines, so text that arrived offset or re-wrapped keeps its layout.
PDF text at its own weight
@polotno/pdf-export exports text at its own weight, so variable fonts and registered numeric weights match the canvas. The browser build exports all 14 standard PDF fonts with no network request.
All changes
polotno 4.12.1 / 3.12.1
- Fixed dragging a selected element that another element covers, the drag moved the covering element instead. Mouse and touch.
- Fixed dragging a table's row and column boundaries moving the whole selection instead.
- Updated to Konva 10.5 and react-konva 19.2.7.
@polotno/pdf-export 0.11.2
- Fixed text exporting at weight 400 or 700 instead of its own weight. Variable fonts and registered numeric weights now match what the canvas paints.
- Fixed SVG artwork exporting the wrong color when it uses currentColor.
- Fixed the browser build throwing on Times New Roman, Courier New, and bold or italic Arial. All 14 standard PDF fonts now export, with no network request.
- Fixed one unreachable font spending its network retries again on every element in the document.
@polotno/svg-import 0.2.0
- Imported text now lands where the SVG paints it. Line spacing and the anchor of centered and right-aligned lines come from the painted baselines instead of a bounding-box estimate, so text that arrived offset or re-wrapped keeps its layout. Text from an existing SVG will import at different coordinates than before.
- Fixed a font stack importing as a serif face when the first family is unavailable.
- Fixed an inline style losing to a presentation attribute, and text not inheriting the font from its group.
- Fixed rotated map labels merging into one element.
@polotno/pdf-import 0.7.0
- Fixed masked photos importing with the mask's colors, and a rotated photo vanishing beneath an opaque mask.
- Fixed a label and its larger value on one row importing at a single font size.
- Fixed narrow columns importing as justified text.
- Different import edge case fixes.
@polotno/video-export 0.3.0
- Added a stage to onProgress: a third status argument naming the current operation: setup, frames, audio-decode, audio-render, audio-encode, finalize. with its completed and total counts. The first two arguments are unchanged, so existing handlers keep working.
polotno-node 3.9.0
- Added video export status to onProgress: a third status argument with the current stage, its work counters, elapsed and idle time, and the renderer tab heartbeat. It covers the Node stages as well — prepare-media, load-client, load-design, transfer, postprocess, read-output.
- Added stallTimeoutMs: an inactivity budget, one number or per stage, that reports a stalled state through the same callback. It notifies only — it never cancels, retries, or closes the browser.
- A renderer crash or a closed page now rejects the export right away instead of waiting out the protocol timeout.
- Includes every polotno 4.12.1 change: polotno-node bundles the editor's render path.
Embed creative infrastructure into your product
TRUSTED BY
100,000+
CREATORS
300+
BUSINESSES
