portableFaceProvider()
urlFor(file). Lazy: the
first document pulls the faces it uses (a Calibri letter costs Carlito’s four
files, about 1 MB), not the 16 MB profile.
Import from @reductoai/pptx/browser.
tableFaceProvider()
install costs the
table alone; each face downloads once, the first time a document needs it,
and stays for the session. A face that fails to download is left absent, so
layout falls back exactly as it would on a machine missing that font.
Import from @reductoai/pptx/browser.
FaceProvider
How face bytes reach the browser. FaceSource.bytes() is synchronous, so a
layout cannot fetch mid-run; layoutDocxInBrowser lays out once to trace
the faces it needs, calls fetch with those ids, and lays out again when
bytes arrived. bytes serves canvas FontFace loading and PDF embedding.
Import from @reductoai/pptx/browser.
installBrowserMetafileBackend()
@reductoai/pptx/browser.
serveMetafileRaster()
@reductoai/pptx/browser.
installBrowserSvgRasterizer()
@reductoai/pptx/browser.
BrowserSvgOptions
Import from @reductoai/pptx/browser.