-
Notifications
You must be signed in to change notification settings - Fork 223
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
Closes #7062 Fonts filesystem #7083
Closes #7062 Fonts filesystem #7083
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
Description
Add a working prototype for font optimisation backend filesystem
Fixes #7062
Type of change
Detailed scenario
N/A
Technical description
Documentation
This feature allow for the download of media fonts locally, it introduce a new namespace
Media\Fonts
with three new classes Fonts, Subscriber and Filesystem.The method
write_font_css
accepts two arguments, the font url and the provider and use those information to download the font and store locally. When the Filesystem class is initialised there's a setter method to declare the version of the fontsMandatory Checklist
Code validation
Code style