Feature #41748
closed
Optimize font loading by replacing variable fonts with specific weights for Noto Sans
Added by Go MAEDA 6 months ago.
Updated 3 days ago.
Description
The attached patch aims to improve font loading performance by replacing the Noto Sans variable font files with fixed-weight font files.
This change reduces the total font file size from 2.1MB to 880KB, which is expected to shorten download times.
Since Redmine's CSS only uses two font weights, normal and bold, the variable fonts are not necessary.
Files
- Related to Feature #41321: Improve readability by refining font sizes and switching to Noto Sans font added
Before:
Filename |
Size |
NotoSans-VariableFont_wdth,wght.woff2 |
1.0MB |
NotoSans-Italic-VariableFont_wdth,wght.woff2 |
1.1MB |
After:
Filename |
Size |
NotoSans-Regular.woff2 |
210KB |
NotoSans-Bold.woff2 |
217KB |
NotoSans-Italic.woff2 |
215KB |
NotoSans-BoldItalic.woff2 |
220KB |
- Target version set to Candidate for next minor release
- Related to Defect #41744: flickering of the top menu on page refresh added
- Target version changed from Candidate for next minor release to 6.0.2
Setting the target version to 6.0.2.
- Status changed from New to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the change in r23275.
- Category changed from Performance to UI
- Status changed from Resolved to Closed
Merged the change into the 6.0-stable branch in r23278.
Hi,
is it possible the app/assets/stylesheets/wiki_syntax.css still needs updating with the new paths as well?
Georg P wrote in #note-9:
is it possible the app/assets/stylesheets/wiki_syntax.css still needs updating with the new paths as well?
Thank you for reporting the problem. Since this issue is already closed, I have opened a new issue: #42644.
- Related to Defect #42644: Noto Sans fonts are not applied on Wiki syntax help pages added
Also available in: Atom
PDF