-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(a11y): Update OpenDyslexic from 0.920 to 2.001 #47928
Conversation
@@ -43,30 +43,22 @@ public function getCSSVariables(): array { | |||
} | |||
|
|||
public function getCustomCss(): string { | |||
$fontPathWoff = $this->urlGenerator->linkTo('theming', 'fonts/OpenDyslexic-Regular.woff'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otf is supported by all supported browsers (IE was the last one), so we can drop the others
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But WOFF is not provided by the creator and I don't know what happens with licenses when using a convertor of any kind ¯\_(ツ)_/¯
The files are ~41KB and ~42KB. I really don't care too much about such a little size to risk license issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That being said, the old font file was ~250KB and the WOFF was ~120KB there it made a bit more sense
Signed-off-by: Joas Schilling <coding@schilljs.com>
c8cdb74
to
599a94f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, amazing improvement! FYI @xBelladonna if you want to check it out. :)
Signed-off-by: Joas Schilling <coding@schilljs.com>
I think this should be backported |
/backport to stable30 |
/backport to stable29 |
/backport to stable28 |
/backport to stable30 |
Summary
Checklist