π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Fix font latency
Smaug67399afc81b50c4b
diff --git a/frontend/app/styles/document-theme.scss b/frontend/app/styles/document-theme.scssindex 9b5a6889..40d82a8c 100644--- a/frontend/app/styles/document-theme.scss+++ b/frontend/app/styles/document-theme.scss@@ -17,8 +17,6 @@}}-@import url('https://fonts.cdnfonts.com/css/latin-modern-roman');-.latex-theme {font-family: "Latin Modern Roman", serif;font-size: 18px;diff --git a/frontend/app/styles/lmroman.scss b/frontend/app/styles/lmroman.scssnew file mode 100644index 00000000..8c107717--- /dev/null+++ b/frontend/app/styles/lmroman.scss@@ -0,0 +1,83 @@+@font-face {+ font-family: 'LMRoman10';+ font-style: normal;+ font-weight: 400;+ src: local('LMRoman10'), url('/fonts/lmroman10-regular.woff') format('woff');+}++@font-face {+ font-family: 'LMRomanCaps10';+ font-style: normal;+ font-weight: 400;+ src: local('LMRomanCaps10'), url('/fonts/lmromancaps10-regular.woff') format('woff');+}++@font-face {+ font-family: 'LMRomanDunh10';+ font-style: normal;+ font-weight: 400;+ src: local('LMRomanDunh10'), url('/fonts/lmromandunh10-regular.woff') format('woff');+}++@font-face {+ font-family: 'LMRomanSlant10';+ font-style: italic;+ font-weight: 400;+ src: local('LMRomanSlant10'), url('/fonts/lmromanslant10-regular.woff') format('woff');+}++@font-face {+ font-family: 'LMRoman10';+ font-style: italic;+ font-weight: 400;+ src: local('LMRoman10'), url('/fonts/lmroman10-italic.woff') format('woff');+}++@font-face {+ font-family: 'LMRomanCaps10';+ font-style: italic;+ font-weight: 400;+ src: local('LMRomanCaps10'), url('/fonts/lmromancaps10-oblique.woff') format('woff');+}++@font-face {+ font-family: 'LMRomanDunh10';+ font-style: italic;+ font-weight: 400;+ src: local('LMRomanDunh10'), url('/fonts/lmromandunh10-oblique.woff') format('woff');+}++@font-face {+ font-family: 'LMRomanDemi10';+ font-style: normal;+ font-weight: 600;+ src: local('LMRomanDemi10'), url('/fonts/lmromandemi10-regular.woff') format('woff');+}++@font-face {+ font-family: 'LMRomanDemi10';+ font-style: italic;+ font-weight: 600;+ src: local('LMRomanDemi10'), url('/fonts/lmromandemi10-oblique.woff') format('woff');+}++@font-face {+ font-family: 'LMRoman10';+ font-style: normal;+ font-weight: 700;+ src: local('LMRoman10'), url('/fonts/lmroman10-bold.woff') format('woff');+}++@font-face {+ font-family: 'LMRoman10';+ font-style: italic;+ font-weight: 700;+ src: local('LMRoman10'), url('/fonts/lmroman10-bolditalic.woff') format('woff');+}++@font-face {+ font-family: 'LMRomanSlant10';+ font-style: italic;+ font-weight: 700;+ src: local('LMRomanSlant10'), url('/fonts/lmromanslant10-bold.woff') format('woff');+}\ No newline at end of filediff --git a/frontend/app/styles/main.scss b/frontend/app/styles/main.scssindex 0c5aef21..293e3d8c 100644--- a/frontend/app/styles/main.scss+++ b/frontend/app/styles/main.scss@@ -4,6 +4,7 @@@forward "./document-theme.scss";@forward "./code.scss";@forward "./components.scss";+@forward "./lmroman.scss";/* only needed once */* {diff --git a/frontend/public/fonts/lmroman10-bold.otf b/frontend/public/fonts/lmroman10-bold.otfnew file mode 100644index 00000000..2ba19515Binary files /dev/null and b/frontend/public/fonts/lmroman10-bold.otf differdiff --git a/frontend/public/fonts/lmroman10-bolditalic.otf b/frontend/public/fonts/lmroman10-bolditalic.otfnew file mode 100644index 00000000..1bdef795Binary files /dev/null and b/frontend/public/fonts/lmroman10-bolditalic.otf differdiff --git a/frontend/public/fonts/lmroman10-italic.otf b/frontend/public/fonts/lmroman10-italic.otfnew file mode 100644index 00000000..06dd2a1fBinary files /dev/null and b/frontend/public/fonts/lmroman10-italic.otf differdiff --git a/frontend/public/fonts/lmroman10-regular.otf b/frontend/public/fonts/lmroman10-regular.otfnew file mode 100644index 00000000..26c8677dBinary files /dev/null and b/frontend/public/fonts/lmroman10-regular.otf differdiff --git a/frontend/public/fonts/lmromancaps10-oblique.otf b/frontend/public/fonts/lmromancaps10-oblique.otfnew file mode 100644index 00000000..96d3aaaeBinary files /dev/null and b/frontend/public/fonts/lmromancaps10-oblique.otf differdiff --git a/frontend/public/fonts/lmromancaps10-regular.otf b/frontend/public/fonts/lmromancaps10-regular.otfnew file mode 100644index 00000000..cae13b13Binary files /dev/null and b/frontend/public/fonts/lmromancaps10-regular.otf differdiff --git a/frontend/public/fonts/lmromandemi10-oblique.otf b/frontend/public/fonts/lmromandemi10-oblique.otfnew file mode 100644index 00000000..29fc8920Binary files /dev/null and b/frontend/public/fonts/lmromandemi10-oblique.otf differdiff --git a/frontend/public/fonts/lmromandemi10-regular.otf b/frontend/public/fonts/lmromandemi10-regular.otfnew file mode 100644index 00000000..927356d8Binary files /dev/null and b/frontend/public/fonts/lmromandemi10-regular.otf differdiff --git a/frontend/public/fonts/lmromandunh10-oblique.otf b/frontend/public/fonts/lmromandunh10-oblique.otfnew file mode 100644index 00000000..fca8c7c3Binary files /dev/null and b/frontend/public/fonts/lmromandunh10-oblique.otf differdiff --git a/frontend/public/fonts/lmromandunh10-regular.otf b/frontend/public/fonts/lmromandunh10-regular.otfnew file mode 100644index 00000000..9513c5c0Binary files /dev/null and b/frontend/public/fonts/lmromandunh10-regular.otf differdiff --git a/frontend/public/fonts/lmromanslant10-bold.otf b/frontend/public/fonts/lmromanslant10-bold.otfnew file mode 100644index 00000000..1973e9efBinary files /dev/null and b/frontend/public/fonts/lmromanslant10-bold.otf differdiff --git a/frontend/public/fonts/lmromanslant10-regular.otf b/frontend/public/fonts/lmromanslant10-regular.otfnew file mode 100644index 00000000..21283402Binary files /dev/null and b/frontend/public/fonts/lmromanslant10-regular.otf differ