Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
perf(fonts): drop the Inter ttf
Elian Doran5e62f2acc5d6
diff --git a/apps/client/src/fonts/Inter/Inter-VariableFont_opsz,wght.ttf b/apps/client/src/fonts/Inter/Inter-VariableFont_opsz,wght.ttfdeleted file mode 100644index e31b51e3e9..0000000000Binary files a/apps/client/src/fonts/Inter/Inter-VariableFont_opsz,wght.ttf and /dev/null differdiff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.cssindex b75d12fb29..3f55245b25 100644--- a/apps/client/src/stylesheets/theme-next/base.css+++ b/apps/client/src/stylesheets/theme-next/base.css@@ -9,8 +9,7 @@@font-face {font-family: "Inter";- src: url(../../fonts/Inter/Inter-VariableFont_opsz,wght.woff2) format("woff2-variations"),- url(../../fonts/Inter/Inter-VariableFont_opsz,wght.ttf) format("truetype-variations");+ src: url(../../fonts/Inter/Inter-VariableFont_opsz,wght.woff2) format("woff2-variations");font-weight: 100 900;font-style: normal;font-display: swap;diff --git a/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx b/apps/client/src/widgets/type_widgets/file/PdfViewer.tsxindex b5cb17c353..299730ee17 100644--- a/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx+++ b/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx@@ -2,7 +2,7 @@ import type { HTMLAttributes, RefObject } from "preact";import { useCallback, useEffect, useRef } from "preact/hooks";import { useSyncedRef, useTriliumOption, useTriliumOptionBool } from "../../react/hooks";-import Inter from "./../../../fonts/Inter/Inter-VariableFont_opsz,wght.ttf";+import Inter from "./../../../fonts/Inter/Inter-VariableFont_opsz,wght.woff2";interface FontDefinition {name: string;