-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Description
OpenDesk promises to be digitally sovereign.
As such, apps in it should not depend on external sources that could potentially track users.
For Docs it would be nice if it didn't rely on external digital assets.
And supplied all required assets itself.
Currently we noticed these occasions, that could be optimized:
- Fonts are beeing queried from google directly
docs/src/frontend/apps/impress/src/cunningham/cunningham-style.css
Lines 80 to 104 in 6cc4263
@font-face { font-family: Inter; font-style: italic; font-weight: 100 900; font-display: swap; src: url('https://fonts.gstatic.com/s/inter/v18/UcCm3FwrK3iLTcvnUwQT9g.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('https://fonts.gstatic.com/s/inter/v18/UcCo3FwrK3iLTcviYwY.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
- Fonts are beeing queried from google directly
docs/src/mail/mjml/partial/header.mjml
Lines 11 to 19 in 6cc4263
<mj-attributes> <mj-font name="Roboto" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap" /> <mj-all font-family="Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif" font-size="16px" line-height="normal" color="#3A3A3A" /> </mj-attributes>
- The PDF Exporter uses the default source (twemoji from cloudflare CDN)
https://github.com/TypeCellOS/BlockNote/blob/ac38a1b12b3924d20d274a1c6de2a9ecb4488ba6/packages/xl-pdf-exporter/src/pdf/pdfExporter.tsx#L32-L38- Can be fixed by specifying option
emojiSource
next toresolveFileUrl
in
docs/src/frontend/apps/impress/src/features/docs/doc-export/components/ModalExport.tsx
Lines 96 to 98 in 6cc4263
const exporter = new PDFExporter(editor.schema, pdfDocsSchemaMappings, { resolveFileUrl: async (url) => exportCorsResolveFileUrl(doc.id, url), });
- Can be fixed by specifying option
Metadata
Metadata
Assignees
Type
Projects
Status
Done