aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-09-12 16:37:27 +0200
committerAndy Scherzinger <info@andy-scherzinger.de>2024-09-15 21:33:52 +0200
commit56dfc179d4d36bc4cdb40effdac54072786fcac6 (patch)
treee98c67b3efd59d02674fa2079c77b5e6bdce9aea /apps
parentd5985984207fa9483fbaaf17f1d5f67e37c099b4 (diff)
downloadnextcloud-server-56dfc179d4d36bc4cdb40effdac54072786fcac6.tar.gz
nextcloud-server-56dfc179d4d36bc4cdb40effdac54072786fcac6.zip
fix(a11y): Update OpenDyslexic from 0.920 to 2.001
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/fonts/OpenDyslexic-Bold.otfbin230716 -> 42408 bytes
-rw-r--r--apps/theming/fonts/OpenDyslexic-Bold.ttfbin311772 -> 0 bytes
-rw-r--r--apps/theming/fonts/OpenDyslexic-Bold.woffbin135076 -> 0 bytes
-rw-r--r--apps/theming/fonts/OpenDyslexic-Regular.otfbin215772 -> 41088 bytes
-rw-r--r--apps/theming/fonts/OpenDyslexic-Regular.ttfbin308524 -> 0 bytes
-rw-r--r--apps/theming/fonts/OpenDyslexic-Regular.woffbin128784 -> 0 bytes
-rw-r--r--apps/theming/lib/Themes/DyslexiaFont.php14
7 files changed, 3 insertions, 11 deletions
diff --git a/apps/theming/fonts/OpenDyslexic-Bold.otf b/apps/theming/fonts/OpenDyslexic-Bold.otf
index 7d074cbddee..4c492e2fcc2 100644
--- a/apps/theming/fonts/OpenDyslexic-Bold.otf
+++ b/apps/theming/fonts/OpenDyslexic-Bold.otf
Binary files differ
diff --git a/apps/theming/fonts/OpenDyslexic-Bold.ttf b/apps/theming/fonts/OpenDyslexic-Bold.ttf
deleted file mode 100644
index 25cf37f99e2..00000000000
--- a/apps/theming/fonts/OpenDyslexic-Bold.ttf
+++ /dev/null
Binary files differ
diff --git a/apps/theming/fonts/OpenDyslexic-Bold.woff b/apps/theming/fonts/OpenDyslexic-Bold.woff
deleted file mode 100644
index 41886ae9dda..00000000000
--- a/apps/theming/fonts/OpenDyslexic-Bold.woff
+++ /dev/null
Binary files differ
diff --git a/apps/theming/fonts/OpenDyslexic-Regular.otf b/apps/theming/fonts/OpenDyslexic-Regular.otf
index ebef13c4ce3..1226d2ab281 100644
--- a/apps/theming/fonts/OpenDyslexic-Regular.otf
+++ b/apps/theming/fonts/OpenDyslexic-Regular.otf
Binary files differ
diff --git a/apps/theming/fonts/OpenDyslexic-Regular.ttf b/apps/theming/fonts/OpenDyslexic-Regular.ttf
deleted file mode 100644
index 4b0cb8c46b7..00000000000
--- a/apps/theming/fonts/OpenDyslexic-Regular.ttf
+++ /dev/null
Binary files differ
diff --git a/apps/theming/fonts/OpenDyslexic-Regular.woff b/apps/theming/fonts/OpenDyslexic-Regular.woff
deleted file mode 100644
index 26a2934d640..00000000000
--- a/apps/theming/fonts/OpenDyslexic-Regular.woff
+++ /dev/null
Binary files differ
diff --git a/apps/theming/lib/Themes/DyslexiaFont.php b/apps/theming/lib/Themes/DyslexiaFont.php
index 2552fc65724..2448de7b3c8 100644
--- a/apps/theming/lib/Themes/DyslexiaFont.php
+++ b/apps/theming/lib/Themes/DyslexiaFont.php
@@ -43,30 +43,22 @@ class DyslexiaFont extends DefaultTheme implements ITheme {
}
public function getCustomCss(): string {
- $fontPathWoff = $this->urlGenerator->linkTo('theming', 'fonts/OpenDyslexic-Regular.woff');
$fontPathOtf = $this->urlGenerator->linkTo('theming', 'fonts/OpenDyslexic-Regular.otf');
- $fontPathTtf = $this->urlGenerator->linkTo('theming', 'fonts/OpenDyslexic-Regular.ttf');
- $boldFontPathWoff = $this->urlGenerator->linkTo('theming', 'fonts/OpenDyslexic-Bold.woff');
$boldFontPathOtf = $this->urlGenerator->linkTo('theming', 'fonts/OpenDyslexic-Bold.otf');
- $boldFontPathTtf = $this->urlGenerator->linkTo('theming', 'fonts/OpenDyslexic-Bold.ttf');
return "
@font-face {
font-family: 'OpenDyslexic';
font-style: normal;
font-weight: 400;
- src: url('$fontPathWoff') format('woff'),
- url('$fontPathOtf') format('opentype'),
- url('$fontPathTtf') format('truetype');
+ src: url('$fontPathOtf') format('opentype');
}
-
+
@font-face {
font-family: 'OpenDyslexic';
font-style: normal;
font-weight: 700;
- src: url('$boldFontPathWoff') format('woff'),
- url('$boldFontPathOtf') format('opentype'),
- url('$boldFontPathTtf') format('truetype');
+ src: url('$boldFontPathOtf') format('opentype');
}
";
}