Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

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 issues

Related to Redmine - Feature #41321: Improve readability by refining font sizes and switching to Noto Sans fontClosedGo MAEDA

Actions
Related to Redmine - Defect #41744: flickering of the top menu on page refreshClosed

Actions
Related to Redmine - Defect #42644: Noto Sans fonts are not applied on Wiki syntax help pagesClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA 6 months ago

  • Related to Feature #41321: Improve readability by refining font sizes and switching to Noto Sans font added
Actions #2

Updated by Go MAEDA 6 months ago

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
Actions #3

Updated by Go MAEDA 6 months ago

  • Target version set to Candidate for next minor release
Actions #4

Updated by Go MAEDA 6 months ago

  • Related to Defect #41744: flickering of the top menu on page refresh added
Actions #5

Updated by Go MAEDA 6 months ago

  • Target version changed from Candidate for next minor release to 6.0.2

Setting the target version to 6.0.2.

Actions #6

Updated by Go MAEDA 6 months ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the change in r23275.

Actions #7

Updated by Go MAEDA 6 months ago

  • Category changed from Performance to UI
Actions #8

Updated by Go MAEDA 6 months ago

  • Status changed from Resolved to Closed

Merged the change into the 6.0-stable branch in r23278.

Actions #9

Updated by Georg P 5 days ago

Hi,

is it possible the app/assets/stylesheets/wiki_syntax.css still needs updating with the new paths as well?

Actions #10

Updated by Go MAEDA 4 days ago

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.

Actions #11

Updated by Go MAEDA 4 days ago

  • Related to Defect #42644: Noto Sans fonts are not applied on Wiki syntax help pages added
Actions #12

Updated by Georg P 3 days ago

Thank you!

Actions

Also available in: Atom PDF