about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-02-26 00:02:11 -0800
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-02-26 00:02:11 -0800
commitc47903f063465f3a2f963613d290e84e43dd510f (patch)
tree4a3ae060eff01063faa210566e20db048c55c44b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9b471a3f5fe57e5c6e08acf665f2094422415a3d (diff)
downloadrust-c47903f063465f3a2f963613d290e84e43dd510f.tar.gz
rust-c47903f063465f3a2f963613d290e84e43dd510f.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions