Project

General

Profile

Actions

Feature #41748

closed

Optimize font loading by replacing variable fonts with specific weights for Noto Sans

Feature #41748: Optimize font loading by replacing variable fonts with specific weights for Noto Sans

Added by Go MAEDA about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
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 3 (0 open — 3 closed)

Related to Redmine - Feature #41321: Improve readability by refining font sizes and switching to Noto Sans fontClosedGo MAEDAActions
Related to Redmine - Defect #41744: flickering of the top menu on page refreshClosedActions
Related to Redmine - Defect #42644: Noto Sans fonts are not applied on Wiki syntax help pagesClosedGo MAEDAActions

Updated by Go MAEDA about 2 years ago Actions #1

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

Updated by Go MAEDA about 2 years ago Actions #2

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

Updated by Go MAEDA about 2 years ago Actions #3

  • Target version set to Candidate for next minor release

Updated by Go MAEDA about 2 years ago Actions #4

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

Updated by Go MAEDA about 2 years ago Actions #5

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

Setting the target version to 6.0.2.

Updated by Go MAEDA about 2 years ago Actions #6

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

Committed the change in r23275.

Updated by Go MAEDA about 2 years ago Actions #7

  • Category changed from Performance to UI

Updated by Go MAEDA about 2 years ago Actions #8

  • Status changed from Resolved to Closed

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

Updated by Georg P over 1 year ago Actions #9

Hi,

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

Updated by Go MAEDA over 1 year ago Actions #10

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.

Updated by Go MAEDA over 1 year ago Actions #11

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

Updated by Georg P over 1 year ago Actions #12

Thank you!

Actions

Also available in: PDF Atom