Skip to content
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

rustdoc: add optional woff2 versions of FiraSans. #82545

Merged
merged 2 commits into from
Feb 26, 2021
Merged

Commits on Feb 26, 2021

  1. Add optional woff2 versions of FiraSans.

    For browsers that support woff2 (most modern ones:
    https://caniuse.com/woff2), this offers a reduction in download size
    for these two fonts from 362k to 257k (32% reduction). It decreases the
    total page size for `struct.String.html` (counting all subresources) by
    about 2.5%.
    
    If this is interesting, I'm happy to apply the same treatment to the
    other fonts, but these two are the biggest.
    jsha committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    c47903f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad7ed13 View commit details
    Browse the repository at this point in the history