@embedpdf/[email protected]
Patch Changes
-
#607 by @bobsingor – Add
fontsconfiguration to the snippet viewer for controlling external webfont loading. Both defaults remain unchanged (Open Sans for the UI chrome, Caveat / Dancing Script / Great Vibes / Pacifico for the Create Signature "Type" tab), but integrators can now opt out cleanly for GDPR-sensitive, airgapped, or self-hosted deployments.fonts.ui: controls the snippet UI font.nullskips the<link>(falls back to the system font stack); an object withfamilyand/orstylesheetUrllets you change the viewer font family independently from the stylesheet source, with omittedstylesheetUrltreated as no managed<link>.fonts.signature: controls the signature "Type" tab fonts.nullskips the<link>and hides the "Type" tab; an object withstylesheetUrland/orfontslets you self-host the stylesheet and override the font list.
Both stylesheets are now registered at document scope with deduped
<link rel="stylesheet">elements so@font-faceworks consistently across browsers and typed signatures can render correctly to canvas. Existing matching stylesheet links are reused when possible. -
#607 by @bobsingor – Prevent the zoom percentage
%symbol in the custom zoom toolbar from wrapping to a new line when the toolbar is resized to a narrow width. The input and%are now rendered as a single non-wrapping flex group that clips overflow instead of breaking the layout.