feat: introduce font picker (#8012)

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
Marcel Mraz
2024-07-25 18:55:55 +02:00
committed by GitHub
parent 4c5408263c
commit 62228e0bbb
120 changed files with 3390 additions and 1106 deletions

View File

@@ -166,9 +166,11 @@ export const exportToSvg = async ({
exportPadding,
renderEmbeddables,
exportingFrame,
skipInliningFonts,
}: Omit<ExportOpts, "getDimensions"> & {
exportPadding?: number;
renderEmbeddables?: boolean;
skipInliningFonts?: true;
}): Promise<SVGSVGElement> => {
const { elements: restoredElements, appState: restoredAppState } = restore(
{ elements, appState },
@@ -184,6 +186,7 @@ export const exportToSvg = async ({
return _exportToSvg(restoredElements, exportAppState, files, {
exportingFrame,
renderEmbeddables,
skipInliningFonts,
});
};