diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index ce2e5ef..6e09a31 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,7 @@ +allowBuilds: + '@parcel/watcher': false + esbuild: false + sharp: false onlyBuiltDependencies: - '@parcel/watcher' - esbuild diff --git a/public/uaf/HarmonyOS_Sans_SC_Regular.ttf b/public/uaf/HarmonyOS_Sans_SC_Regular.ttf new file mode 100644 index 0000000..aff150a Binary files /dev/null and b/public/uaf/HarmonyOS_Sans_SC_Regular.ttf differ diff --git a/public/uaf/NotoSansSC-Regular.otf b/public/uaf/NotoSansSC-Regular.otf deleted file mode 100644 index fb0637b..0000000 Binary files a/public/uaf/NotoSansSC-Regular.otf and /dev/null differ diff --git a/src/utils/uafExport.js b/src/utils/uafExport.js index b4de9e6..baa73e0 100644 --- a/src/utils/uafExport.js +++ b/src/utils/uafExport.js @@ -266,7 +266,7 @@ export async function downloadUafAssignments(assignments, dateValue) { if (issues.length) throw new UafExportValidationError(issues); const { createUafPdf } = await loadBrowserUaf(); const base = import.meta.env.BASE_URL || "/"; - const fontUrl = new URL(`${base}uaf/NotoSansSC-Regular.otf`, window.location.origin); + const fontUrl = new URL(`${base}uaf/HarmonyOS_Sans_SC_Regular.ttf`, window.location.origin); const wasmUrl = new URL(`${base}uaf/hb-subset.wasm`, window.location.origin); const pdfBytes = await createUafPdf(assignments, { fontUrl,